Difference between revisions of "GCP Bucket permissions"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
* <code>[[gcloud iam roles list]]</code> | * <code>[[gcloud iam roles list]]</code> | ||
* <code>[[Storage Admin]], [[Storage Object Admin]], [[Storage Object Admin]], [[Storage Object Viewer]]</code> | * <code>[[Storage Admin]], [[Storage Object Admin]], [[Storage Object Admin]], [[Storage Object Viewer]]</code> | ||
+ | storage.objects.list | ||
+ | storage.buckets.list | ||
== See also == | == See also == |
Revision as of 09:18, 19 September 2022
There are two modes of manage permissions for GCP buckets:
- Uniform bucket-level access
gsutil ubla
- Fine-grained ACL based
gsutil defacl
.
If Uniform access is enabled fine-grained ACL mode will be disabled.
- Uniform bucket-level access:
gsutil ubla
- ACL:
gsutil defacl
- To add conditions, switch the bucket from fine-grained to uniform bucket-level access control
Related
- Google Cloud Storage Bucket
gcloud iam roles list
Storage Admin, Storage Object Admin, Storage Object Admin, Storage Object Viewer
storage.objects.list storage.buckets.list
See also
gsutil ubla [ set | get ]
gsutil
[config | singurl | mb | iam | cp | ls | acl | defacl | ubla | du | cors | --help
],$HOME/.boto, Cloud Shell
- GCS, GCS Bucket, permissions, GCS Object versioning,
gsutil
, Folder (Object Storage), GCS lifecycle,gcsfuse
, Storage Admin
Advertising: