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

Pass in the Web Identity token to assumeRoleWithWebIdentity #417

Merged
merged 14 commits into from
Jul 1, 2020

Conversation

dalgibbard
Copy link
Contributor

@dalgibbard dalgibbard commented Jun 25, 2020

In relation to #254 - the recent changes don't appear to be working on EKS Fargate for me, and the AWS SDK documentation suggest you should provide the token into the assumeRoleWithWebIdentity method params.

Update: confirmed that the current master branch with WebIdentities results in an error because the web token is a required param: #254 (comment)

This change reads the token contents and passes them in.

@dalgibbard dalgibbard marked this pull request as draft July 1, 2020 10:42
@dalgibbard dalgibbard marked this pull request as ready for review July 1, 2020 11:02
@dalgibbard
Copy link
Contributor Author

@Flydiverny could I trouble you to review this when you get a mo? :)

Copy link
Member

@Flydiverny Flydiverny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following the discussion in #254 lets merge it, and we'll have a retake if someone finds opposing issues. Doesn't look like this should cause any extra trouble.

@Flydiverny Flydiverny merged commit 23d511f into external-secrets:master Jul 1, 2020
@Flydiverny
Copy link
Member

@dalgibbard thanks for taking your time with this :)

@dalgibbard dalgibbard deleted the fargate branch July 1, 2020 12:16
@dalgibbard
Copy link
Contributor Author

Thanks a lot @Flydiverny ! Do you know when this is likely to make it into a release version? :)

dalgibbard added a commit to dalgibbard/kubernetes-external-secrets that referenced this pull request Jul 1, 2020
fix: pass in the Web Identity token to assumeRoleWithWebIdentity (external-secrets#417)
@Flydiverny
Copy link
Member

@dalgibbard I pinged @silasbw on slack asking for a release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants