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
aws2 currently defaults to storing configuration and credentials in a directory called "$HOME/.aws". Please modify it to default to "$HOME/.config/aws", per the XDG Base Directory Specification. This isn't just to follow a standard for standard's sake, but also to help keep hidden directories from proliferating in home directories. It would be sensible for aws2 to default to "$HOME/.config/aws" but fallback to "$HOME/.aws" if the former isn't available, so that backwards compatibility can be maintained.
I've set AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE, which does change where the config and credentials file are stored. But aws2 cli history still goes to .aws in my home directory.
Please please make aws2 respect XDG!
The text was updated successfully, but these errors were encountered:
Given that this is relevant to AWS CLI v1 and v2, I'm going to close it in favor of #2433.
This change would need to be respected by all AWS SDKs and tools, so I'm going to be moving #2433 to the AWS SDK issue tracking repository, at https://github.com/aws/aws-sdk.
Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
aws2 currently defaults to storing configuration and credentials in a directory called "$HOME/.aws". Please modify it to default to "$HOME/.config/aws", per the XDG Base Directory Specification. This isn't just to follow a standard for standard's sake, but also to help keep hidden directories from proliferating in home directories. It would be sensible for aws2 to default to "$HOME/.config/aws" but fallback to "$HOME/.aws" if the former isn't available, so that backwards compatibility can be maintained.
I've set AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE, which does change where the config and credentials file are stored. But aws2 cli history still goes to .aws in my home directory.
Please please make aws2 respect XDG!
The text was updated successfully, but these errors were encountered: