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

AWS report is incorrect #408

Open
jasonkarns opened this issue May 17, 2024 · 0 comments
Open

AWS report is incorrect #408

jasonkarns opened this issue May 17, 2024 · 0 comments

Comments

@jasonkarns
Copy link

tldr

xdg-ninja incorrectly reports the existence of .aws/cli and .aws/sso as fixable. I would hope that the aws check only fails on existence of .aws/config and .aws/credentials which are fixable with env vars presently.

details

The check for aws files seems to only be checking existence of ~/.aws directory, and reports "fixable":

  Export the following environment variables:                                                                         
                                                                                                                    
    export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials                                             
    export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config                                                              

However, I have those set:

$ echo $AWS_CONFIG_FILE 
/Users/jason.karns/.config/aws/config.chime
$ echo $AWS_CREDENTIALS_FILE 
/Users/jason.karns/.local/share/aws/credentials
$ echo $AWS_SHARED_CREDENTIALS_FILE 
/Users/jason.karns/.local/share/aws/shared-credentials

And none of those files exist in my homedir. I do have cli and sso subdirs:

$ ls .aws/
cli/ sso/

But those are not currently fixable with env vars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant