Describe the feature
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
SDK version used
latest
Environment details (Version of PHP (php -v)? OS name and version, etc.)
Linux, php:8.1 official container.
Describe the feature
Allow configuring a different parent folder/location for the
.awsfolder that holds the config/credentials files. Currently, theAWS_CONFIG_FILEcan configure a location for the config file. Other than that, in many places in the code the.awsis assumed to be under the$HOMEfolder.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
.awsfolder 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_HOMEthat 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.