-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overwriting STS config in ChainableTemporaryCredentials (#2803)
STS uses the global endpoint per default which does not work for "opt-in" regions. The `ChainableTemporaryCredentials` wrapper for fetching credentials via `AssumeRole` or `GetSessionToken` does not allow overriding the endpoint or set a different region. This change will introduce another optional constructor parameter for specifying the STS client configuration and forwarding it to the client constructor. fix: #2673
- Loading branch information
1 parent
f731ff1
commit 3ffad9c
Showing
6 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
.changes/next-release/feature-ChainableTemporaryCredentials-5b0ffa87.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"type": "feature", | ||
"category": "ChainableTemporaryCredentials", | ||
"description": "Support for specifying STS client config when creating ChainableTemporaryCredentials to override endpoint or region." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.