-
Notifications
You must be signed in to change notification settings - Fork 103
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
Setting both AWS_PROFILE and AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY is now issuing a warning in Javascript SDK #737
Comments
Came here to open up this issue. Same. Running |
Thanks @andrewpatto @can-sahin-gowago, we will need to get this behavior fixed. If you could share a copy of your ~/.aws/config with the affected profile in this issue that would be helpful (I’d like to confirm if you are using the Granted credential process integration or not). Feel free to redact account IDs etc from it. |
Thanks for looking into this! This is my ~/.aws/config (redacted). I do not have any ~/.aws/credentials present.
After doing an
|
I do use the credentials process. I get the same env output as the above command. What is causing bug rarely is that (apart from the warning) sometimes I need to |
A recent commit
aws/aws-sdk-js-v3@d1105e3
means that now the Javscript SDK prints a warning
I used
granted
in a mode where I runassume
in an otherwise unconfigured shell to set the AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY variablesand don't use profiles anywhere downstream. I do not have AWS_PROFILE set before running
assume
.Is it possible for
granted
to have a flag to "not set" AWS_PROFILE as part of its env variables export (now that it seems that officially the AWS SDKs are complaining about it)?The text was updated successfully, but these errors were encountered: