-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Inconsistent aws configure behavior involving Windows environment variable #9024
Description
Describe the bug
In the SDKs & Tools Reference Guide, it mentions that all platforms first check the HOME environment variable for the config and credentials files.
But in the CLI configuration documentation it notes:
The AWS CLI stores sensitive credential information that you specify with
aws configurein a local file named credentials, in a folder named.awsin your home directory. The less sensitive configuration options that you specify withaws configureare stored in a local file namedconfig, also stored in the.awsfolder in your home directory.Where you find your home directory location varies based on the operating system, but is referred to using the environment variables
%UserProfile%in Windows and$HOMEor~(tilde) in Unix-based systems.
We need to confirm:
- If all SDKs first look for the
HOMEenvironment variable in Windows environments. - If
aws configureshould be updated to update theHOMEenvironment variable in Windows. - If SDK/CLI documentation should be updated to clarify this behavior.
Originally reported here: #7035
Related Go PR: aws/aws-sdk-go#1308