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

Please make aws2 respect XDG Base Directory Specification #4662

Closed
lousyd opened this issue Nov 14, 2019 · 4 comments
Closed

Please make aws2 respect XDG Base Directory Specification #4662

lousyd opened this issue Nov 14, 2019 · 4 comments
Labels
configuration duplicate This issue is a duplicate. v2

Comments

@lousyd
Copy link

lousyd commented Nov 14, 2019

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!

@z0rc
Copy link

z0rc commented Dec 13, 2019

Linking previous issues about this topic to signify that this isn't a new issue, but v2 would be prefect opportunity to finally make it happen.
https://github.com/aws/aws-cli/issues/2433
boto/botocore#1839

@kdaily
Copy link
Member

kdaily commented Dec 10, 2020

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.

@kdaily kdaily closed this as completed Dec 10, 2020
@kdaily kdaily added duplicate This issue is a duplicate. configuration labels Dec 10, 2020
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

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.

@Jolg42
Copy link

Jolg42 commented Jun 27, 2023

Note: I did find the new issue (still open) at aws/aws-sdk#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration duplicate This issue is a duplicate. v2
Projects
None yet
Development

No branches or pull requests

5 participants