Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent aws configure behavior involving Windows environment variable #7051

Open
tim-finnigan opened this issue Jun 17, 2022 · 0 comments
Labels
bug This issue is a bug. configuration configure p3 This is a minor priority issue windows

Comments

@tim-finnigan
Copy link
Contributor

tim-finnigan commented Jun 17, 2022

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 configure in a local file named credentials, in a folder named .aws in your home directory. The less sensitive configuration options that you specify with aws configure are stored in a local file named config, also stored in the .aws folder 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 $HOME or ~ (tilde) in Unix-based systems.

We need to confirm:

  • If all SDKs first look for the HOME environment variable in Windows environments.
  • If aws configure should be updated to update the HOME environment 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

@tim-finnigan tim-finnigan added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. configuration and removed needs-triage This issue or PR still needs to be triaged. labels Jun 17, 2022
@tim-finnigan tim-finnigan added windows configure p3 This is a minor priority issue labels Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. configuration configure p3 This is a minor priority issue windows
Projects
None yet
Development

No branches or pull requests

1 participant