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

Add support to use regional endpoints for STS client while using assume role #10289

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

munendrasn
Copy link
Contributor

STS by default uses Global endpoint but AWS recommends to use regional endpoints.

The PR introduces new property client.assume-role.sts-regional-endpoint-enabled, when set, stsClient is built region specified, else uses the global endpoint - default behaviour
Keeping the current behaviour as the default, because for some regions regional point need to explicitly enabled. Once the user enables the regional endpoint, then the flag can be set

@github-actions github-actions bot added the AWS label May 8, 2024
@munendrasn
Copy link
Contributor Author

@jackye1995 @amogh-jahagirdar @nastra Please review.
For testing, couldn't find other way to validate, please suggest if the current approach doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant