-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.
Description
Currently the C++ SDK supports using credentials from the ~/.aws/credentials file, and different profiles can be selected by setting the AWS_DEFAULT_PROFILE environment variable. However, if the profile assumes a role (as supported by the CLI) then the access/secret keys become invalid (the role_arn and source are not currently supported).
An excerpt from the logs shows:
[DEBUG] 2016-04-06 14:15:34 ProfileConfigFileAWSCredentialsProvider [140635887626240] Found profile Dev
[TRACE] 2016-04-06 14:15:34 ProfileConfigFileAWSCredentialsProvider [140635887626240] Found property role_arnfor profile Dev
[TRACE] 2016-04-06 14:15:34 ProfileConfigFileAWSCredentialsProvider [140635887626240] Found property source_profilefor profile Dev
[INFO] 2016-04-06 14:15:34 ProfileConfigFileAWSCredentialsProvider [140635887626240] Access key for profile not found.
[INFO] 2016-04-06 14:15:34 ProfileConfigFileAWSCredentialsProvider [140635887626240] Secret key for profile not found.
[INFO] 2016-04-06 14:15:34 ProfileConfigFileAWSCredentialsProvider [140635887626240] Optional session token for profile not found.
mdashti, lee-lethean, Petezah, surry, lnetherton and 1 more
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.