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

aws/stscreds: WebIdentityTokenProvider should take a TokenFetcher not filepath #525

Closed
jasdel opened this issue Apr 7, 2020 · 0 comments
Labels
feature-request A feature should be added or improved.

Comments

@jasdel
Copy link
Contributor

jasdel commented Apr 7, 2020

Is your feature request related to a problem? Please describe.

The stscreds's WebIdentityTokenProvider only sources a token from a filepath. It does not have an abstract way to obtain a token from other sources such as a HTTP endpoint.

Describe the solution you'd like

V1 SDK merged in change aws/aws-sdk-go#3256 which adds support for a TokenFetcher that provides an abstract method for receiving an WebIdentityToken. The v2 SDK should be updated to adopt this behavior as the default.

@jasdel jasdel added the feature-request A feature should be added or improved. label Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

2 participants