Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

feat(aws): add support for setting an intermediate iam role #454

Merged
merged 2 commits into from
Oct 4, 2020

Conversation

Flydiverny
Copy link
Member

@Flydiverny Flydiverny commented Jul 27, 2020

As previously suggested in #282

Adds support for setting env AWS_INTERMEDIATE_ROLE_ARN with a iam role arn to have an additional role assumed before assuming the role specified in a secret, to allow easier managing of iam roles.

This swaps the assumeRole usage to use AWS.ChainableTemporaryCredentials which allows chaining several roles in a row and have the sdk resolve the right credentials.

@Flydiverny Flydiverny force-pushed the intermediate-role branch 2 times, most recently from d955731 to 303e738 Compare July 29, 2020 10:23
@Flydiverny Flydiverny marked this pull request as ready for review July 29, 2020 10:38
@Flydiverny Flydiverny force-pushed the intermediate-role branch 2 times, most recently from 41b6597 to 3c607cb Compare July 29, 2020 12:07
@Flydiverny Flydiverny added the aws label Jul 31, 2020
@Flydiverny Flydiverny merged commit 72920e4 into external-secrets:master Oct 4, 2020
@Flydiverny Flydiverny deleted the intermediate-role branch October 4, 2020 12:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants