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 minio_session_token configuration #362

Merged
merged 1 commit into from
Oct 16, 2022

Conversation

pjsier
Copy link
Collaborator

@pjsier pjsier commented Oct 15, 2022

Adds minio_session_token configuration option to support using temporary credentials. I followed the recommended strategy from the issue comment, and I also updated the minioAdmin creation to use NewWithOptions to support configuring credentials with a session token. I didn't see anywhere else that needed updating, but I may have missed something.

The tests are passing, but I'm happy to add more. I just didn't see a clear place where provider configuration tests would fit. Let me know if there are any changes I should make, thanks!

Closing issues

Copy link
Collaborator

@felladrin felladrin left a comment

Choose a reason for hiding this comment

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

Thanks for implementing it, @pjsier!

Looks good to me, and I also see it matches what @BuJo mentioned on that issue.

I'm approving it and a patch-release will be published soon.

@felladrin felladrin merged commit c78ea51 into aminueza:master Oct 16, 2022
@BuJo
Copy link
Collaborator

BuJo commented Oct 17, 2022

Yeah, this looks very fine for me as well. Thanks @pjsier and @felladrin for reviewing!

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.

Cannot create a S3 bucket using temporary credentials.
3 participants