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

feat(credential-providers): pass caller client options to fromTemporaryCredentials inner STSClient #6838

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jan 22, 2025

Issue

#6565

Description

  • caller client options for region, profile, requestHandler, logger, credentialDefaultProvider are passed to the fromTemporaryCredentials inner STS client unless overridden with fromTemporaryCredentials({ clientConfig }) fields.

Testing

new unit tests
existing credential integration tests

@kuhe kuhe requested a review from a team as a code owner January 22, 2025 16:24
kuhe added 2 commits January 22, 2025 11:45

Verified

This commit was signed with the committer’s verified signature.
vbudhram Vijay Budhram
…ryCredentials inner STSClient
@kuhe kuhe force-pushed the feat/fromTempCreds branch from 2ffc611 to 2ba842b Compare January 22, 2025 16:54
@@ -84,7 +84,7 @@ const resolveRegion = async (
*/
export const getDefaultRoleAssumer = (
stsOptions: STSRoleAssumerOptions,
stsClientCtor: new (options: STSClientConfig) => STSClient
STSClient: new (options: STSClientConfig) => STSClient
Copy link
Contributor Author

Choose a reason for hiding this comment

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

renamed this variable so searching new STS is more consistent

@kuhe kuhe force-pushed the feat/fromTempCreds branch from dc94fd5 to b39a5c3 Compare January 22, 2025 17:27
@kuhe kuhe merged commit 0d0b14e into aws:main Jan 22, 2025
5 checks passed
@kuhe kuhe deleted the feat/fromTempCreds branch January 22, 2025 21:35
Copy link

github-actions bot commented Feb 6, 2025

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 Feb 6, 2025
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