-
Notifications
You must be signed in to change notification settings - Fork 54
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
Support for Govcloud? #32
Comments
Hi @anitiangodfrey, are you using a profile as credentials to access AWS or any other mechanism? Maybe it will help when I merge #29, as this provides some yet unsupported authentication mechanisms, such as SSO. |
Hey @jckuester, I'm using a profile but with MFA. My profile only gives me access to run the sts command to get my temp session credentials then I export those temp credentials as environment variables. Would awsls use my profile over my environment variables? For reference https://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html |
Can you try if
This could actually be the case. Not sure what the precedence for the AWS CLI is, when both credentials and a profile is set via environment variables (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html)? |
Looks like that was it. Having my AWS_PROFILE variable set along with the environment variables for my temporary credentials was causing my permission deny error. Unsetting AWS_PROFILE solved the issue, thanks for your help! |
@jckuester This issue can be closed |
Hello, I was wondering if this should work with an account in aws govcloud? I was able to run awsls fine in a commercial account but kept getting access denied errors in govcloud even though I have the correct permissions. I added full admin just to test and got the same error.
For example:
But running just
aws s3 ls
returns a list of my buckets fine.Thanks for your help!
The text was updated successfully, but these errors were encountered: