storage: How to use custom domain but with pathstyle in URL signer options? #3866
Labels
api: storage
Issues related to the Cloud Storage API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
In URLStyle(for signing options), there are three styles implemented currently bucketBoundHostname, pathStyle, virtualHostedStyle. I need to use custom domain but with path style bucket convention.
I tried to implement URLStyle interface, but its methods are private.
My assumption is that signed urls work no matter what the hostname is as long as the signing is done with the same host name. So it should be fundamentally legal.
How to achieve this using go SDK?
Example:
https://customdomain.com/bucket/key?signature....&other params
The text was updated successfully, but these errors were encountered: