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

google storage - signed urls with uniform bucket level access #1267

Open
codergolem opened this issue Jul 28, 2023 · 1 comment
Open

google storage - signed urls with uniform bucket level access #1267

codergolem opened this issue Jul 28, 2023 · 1 comment

Comments

@codergolem
Copy link

codergolem commented Jul 28, 2023

Is it possible to create a signed url when the bucket has uniform bucket level access but not a publicRead policy? The documentation says that when using uniform bucket level access the setting GS_QUERYSTRING_AUTH should be set to false, causing that all urls will be generated non signed, but this assumes that the objects are public so they can be shared that way.
But in my particular case I have uniform bucket level access and the objects are private, but I still want to share some of them via signed urls, is this somehow possible?
Looking at this code I infer is not, but maybe there is a way.

@joonhyungshin
Copy link

It is possible, and you can set GS_QUERYSTRING_AUTH to True with uniform bucket level access without publicRead.

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

No branches or pull requests

2 participants