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

Get tenant configured region and set on STS Options #1856

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

pjuarezd
Copy link
Member

Bugfix: when a region is set on tenant, the STS Handler fails because of missing region with the following error:

Error retrieving STS credentials: The authorization header is malformed; the region is wrong; 
expecting 'us-east-1'. 

On this example case the tenant was set to region no-region-1

mc admin info ALIAS --json | yq .info.region
no-region-1

Bugfix retrieves set region with madmin client and sets it in credentials.STSAssumeRoleOptions

Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

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

lgtm

@pjuarezd pjuarezd merged commit 377fa02 into minio:master Nov 15, 2023
25 checks passed
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.

None yet

3 participants