Cloud Storage Permissions Flashcards
storage.buckets.create
Create new buckets in a project.
storage.buckets.delete
Delete buckets.
storage.buckets.get
Read bucket metadata, excluding IAM policies, and list or read the Pub/Sub notification configurations on a bucket.
storage.buckets.getIamPolicy
Read bucket IAM policies.
storage.buckets.list
List buckets in a project. Also read bucket metadata, excluding IAM policies, when listing.
storage.buckets.setIamPolicy
Update bucket IAM policies.
storage.buckets.update
Update bucket metadata, excluding IAM policies, and add or remove a Pub/Sub notification configuration on a bucket.
Which permissions do not apply to buckets with uniform bucket-level access enabled.
The storage.objects.getIamPolicy and storage.objects.setIamPolicy permissions do not apply to buckets with uniform bucket-level access enabled.
What permissions are needed in order to replace existing objects?
In order to replace existing objects, both storage.objects.create and storage.objects.delete permissions are required.
Where are HMAC key permissions applied?
*hash-based message authentication code (HMAC) keys, which you can use to authenticate requests to Cloud Storage.
HMAC key permissions apply at the project level only.
What is needed to create or updated multi-part uploads?
In order to create and/or upload parts, you must have both storage.objects.create and storage.multipartUploads.create permission.
storage.objects.create
Add new objects to a bucket.
storage.objects.delete
Delete objects.
storage.objects.get
Read object data and metadata, excluding ACLs.
storage.objects.getIamPolicy
Read object ACLs, returned as IAM policies.