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 for host override on presign URL #1576

Closed

Conversation

hilariocoelho
Copy link
Contributor

@hilariocoelho hilariocoelho commented Oct 29, 2021

Adds support for a different URL.Host when using Presigned methods. This is specially useful when you are communicating with Minio with a private endpoint (let's say intra Kubernetes cluster endpoint) but want to generate a presigned URL in order to share publicly with a different host that can only access /bucket instead of the whole minIO UI / API.

Added some functional tests.

Copy link
Member

@harshavardhana harshavardhana left a comment

Choose a reason for hiding this comment

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

This change is not required

Please use a different client constructor if you want to generate presigned URLs for specific needs.

@harshavardhana
Copy link
Member

Refer #1449

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

2 participants