Replies: 1 comment 3 replies
-
|
i think this is just a bug and the incorrect env var is used, we should align to public documentation. We can push out a fix for this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have observed an inconsistency in source code that the environment variable
AWS_IAM_ROLE_ARNis used to initialize theClientConfiguration:aws-sdk-cpp/src/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp
Line 48 in 1122413
The
STSCredentialsProvider, however, still uses theAWS_ROLE_ARN:aws-sdk-cpp/src/aws-cpp-sdk-core/source/auth/STSCredentialsProvider.cpp
Line 82 in 1122413
The problem is that
AWS_IAM_ROLE_ARNappears to be completely undocumented in official AWS and SDK documentation. Searches (e.g., "AWS_IAM_ROLE_ARN" site:docs.aws.amazon.com) yield no helpful results.Which variable is the current, officially recommended way to set the Role ARN using environment variables?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions