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

default chain provider: plug in STS web identity provider #157

Conversation

grrtrr
Copy link
Contributor

@grrtrr grrtrr commented Mar 8, 2022

In clusters with temporary credentials, the default chain provider will only
query the ECS and IMDS providers, but not the STS web identity provider.

This differs from the use-case underlying the DefaultAWSCredentialsProviderChain
in use by the AWSK SDK, which does check the STS assume-role-with-web-identity
provider before checking the ECS and IMDS credential providers.

For clusters with temporary STS credentials, the default chain provider needs
such support, hence plug in the STS web identity provider.

Issue #, if available:

Description of changes:
Add an STS assume-role-with-web-identity provider into the default provider chain.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

grrtrr and others added 2 commits March 8, 2022 09:31
In clusters with temporary credentials, the default chain provider will only
query the ECS and IMDS proiders, but not the STS web identity provider.

This differs from the use-case underlying the `DefaultAWSCredentialsProviderChain`
in use by the AWSK SDK, which does check the STS assume-role-with-web-identity
provider before checking the ECS and IMDS credential providers.

For clusters with temporary STS credentials, the default chain provider needs
such support, hence plug in the STS web identity provider.
@bretambrose
Copy link
Contributor

Merged in #167

@grrtrr grrtrr deleted the add_sts_web_identity_to_default_chain_provider branch July 29, 2022 16:05
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

2 participants