You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow configuring a different parent folder/location for the .aws folder that holds the config/credentials files. Currently, the AWS_CONFIG_FILE can configure a location for the config file. Other than that, in many places in the code the .aws is assumed to be under the $HOME folder.
Use Case
Some applications may trigger actions either via CLI or via the UI. These are commonly configured as separate users, that may not even have a home directory. In such cases, the .aws folder that holds the config/credentials files needs to be placed in a location that both users have access to.
Proposed Solution
Introduce a new environment variable AWS_HOME that will define the location of the parent folder for .aws.
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
SDK version used
latest
Environment details (Version of PHP (php -v)? OS name and version, etc.)
Linux, php:8.1 official container.
The text was updated successfully, but these errors were encountered:
Hi @yenfryherrerafeliz , thanks for the response. The reason that I did not use that is that HOME is a generic Linux environment variable that should not be changed because it has a specific meaning in Linux and other processes within or outside of the application might rely upon. The HOME always needs to be the actual linux home directory of the user and should never be changed.
In the case that I mention in the description, the PHP/application user has a different home directory, while the web server user e.g. www-data would have a different home directory, or even no home directory at all. Home directories should never be changed.
Describe the feature
Allow configuring a different parent folder/location for the
.aws
folder that holds the config/credentials files. Currently, theAWS_CONFIG_FILE
can configure a location for the config file. Other than that, in many places in the code the.aws
is assumed to be under the$HOME
folder.Use Case
Some applications may trigger actions either via CLI or via the UI. These are commonly configured as separate users, that may not even have a home directory. In such cases, the
.aws
folder that holds the config/credentials files needs to be placed in a location that both users have access to.Proposed Solution
Introduce a new environment variable
AWS_HOME
that will define the location of the parent folder for.aws
.Other Information
No response
Acknowledgements
SDK version used
latest
Environment details (Version of PHP (
php -v
)? OS name and version, etc.)Linux, php:8.1 official container.
The text was updated successfully, but these errors were encountered: