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 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
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.

3 participants