Skip to content

Use default STS endpoint#2044

Merged
harshavardhana merged 2 commits into
minio:masterfrom
ramondeklein:use-default-sts-endpoint
Jan 3, 2025
Merged

Use default STS endpoint#2044
harshavardhana merged 2 commits into
minio:masterfrom
ramondeklein:use-default-sts-endpoint

Conversation

@ramondeklein
Copy link
Copy Markdown
Contributor

The CredentialContext allows to pass the MinIO endpoint to the credential provider. This PR will use the MinIO endpoint as the default STS endpoint if no STS endpoint is specified.

I didn't want to break the API, but when we move to MinIO v8, then the endpoint parameter should be removed from functions like credentials.NewSTSWebIdentity() and it should be passed as an option.

@ramondeklein ramondeklein force-pushed the use-default-sts-endpoint branch from 6decb3f to 17cf994 Compare January 3, 2025 11:32
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.

2 participants