Skip to content
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

Add SharedConfigState opt to AWS session for assume role support #3655

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant