'GCS Private Bucket but objects or folder private
Using a GCS bucket to store the files like invoice but the issue I am facing is access issue on those files (objects) since my bucket is private.
Is there any way I can acccess the objects with keeping my bucket as private. Only read access to the public users something.
Solution 1:[1]
You can simply make your bucket public! Grant the special user "allUsers", the role "Object viewer". Like that, any unauthenticated user will be able to view and download the file.
The role object admin (that allows to read, write and delete the object) MUST not be granted on allUsers, but only to admin, like you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | guillaume blaquiere |
