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

fix(credential-providers): support custom middleware for sts client #3887

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

AllanZhengYP
Copy link
Contributor

Issue

Ref: V693851885

Description

Provide an easier way to inject middleware to the default STS client used by the credential providers. Now users can use the clientPlugins option to add middleware to the underlying STS client. A typical usecase is adding custom headers to the assume-role API calls to prevent confused deputy problem.

Testing

Unit test


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP requested a review from a team as a code owner August 29, 2022 16:46
@AllanZhengYP AllanZhengYP requested a review from kuhe August 29, 2022 17:48
@AllanZhengYP AllanZhengYP merged commit 072dea3 into aws:main Aug 30, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2022
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.

2 participants