-
Notifications
You must be signed in to change notification settings - Fork 1
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
application does not read profiles from config when credentials is missing #8
Comments
Hi @Laurian, thank you for submitting this bug. Yes, application expects the presence of Out of curiosity, why you didn't have that file? |
It kinda happened that way on a newly installed machine, just setup a single account with SSO and got only the config and not the credentials file |
I see that's really uncommon, but can happen that someone has only SSO configuration. Thanks again for submitting it. I will fix it in the next release :-) |
Better error handling when there is no |
I see that this issue is still open so I'll just continue the conversation even though a release supposedly addressed the issue. I'm using AWS SSO. I have it all set up and working on the CLI with many profiles. I use At no point do I use a How can I make this set up work with CloudPouch? |
Hey @bwhaley I started working on this issue. Indeed, right now CloudPouch expects As a temporary work-around solution you can add
That will result in the error for this fake Also, you don't need to execute the command |
This did the trick for me, thank you! I do find that when I choose a profile, then select another, I'm asked to authenticate again. With SSO, I should only need to authenticate once. The same credentials should be valid for all the profiles. |
Same here, using aws-vault to manage my credentials. Created a temporary [default] profile in ~/.aws/credentials file with AWS_REGION, AWS_DEFAUILT_REGION, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY variables, but still seeing the error that no credentials are found. |
Hey @peteroruba, thanks for trying out CloudPouch. Have you defined it using lowercase? As specified in the AWS docs for
|
@serverlesspolska thanks, that was it. For the record - I also had to add aws_session_token and now I am able to run it |
I'm glad it solved the problem for you 😃 Regarding the |
Yes, exactly. I wanted to run it with my regular account for a quick evaluation, but for regular use a dedicated IAM user definitely makes more sense. |
I had to create an empty
.aws/credentials
to have the app load the profiles defined in.aws/config
The text was updated successfully, but these errors were encountered: