Skip to content

Conversation

@raphapr
Copy link

@raphapr raphapr commented May 4, 2021

- What I did

Enabled support for assuming roles to AWS session. Adding SharedConfigState to session options will instruct the SDK to enable support for assuming roles from shared config file. By default without this opt set the SDK will not be able to assume roles.

- How I did it

Added SharedConfigState opt to aws.Session

- How to verify it

Build an image i.e examples/aws.yml then load a AWS_PROFILE with assumed role. Then push the image to AWS. The credentials profile for assuming a role should be as described in AWS documentation.

- Description for the changelog

  • Add the ability of assuming roles when pushing the image to AWS

- A picture of a cute animal

image
"Please"

* required for assume role support

Signed-off-by: Raphael P. Ribeiro <raphael.ribeiro@vouch.io>
@raphapr raphapr changed the title Add SharedConfigState opt to aws session Add SharedConfigState opt to aws session to assume roles May 4, 2021
@raphapr raphapr changed the title Add SharedConfigState opt to aws session to assume roles Add SharedConfigState opt to AWS session to assume roles May 4, 2021
@raphapr raphapr changed the title Add SharedConfigState opt to AWS session to assume roles Add SharedConfigState opt to AWS session for assume role support May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant