The following page discusses the Identity and Access Management (IAM) permissions required to perform actions within the Cloud Storage portion of the Google Cloud console. IAM permissions are bundled together to make roles, and you grant roles to users and groups.
Common permissions required for using the Google Cloud console
Certain permissions are broadly necessary in order to use the Google Cloud console:
All actions involving buckets should include
resourcemanager.projects.get
andstorage.buckets.list
permissions at the project level.These permissions allow you to access the Buckets page, where you create, view, and update buckets.
All actions that include a billing project in the request require
serviceusage.services.use
permission for the project that's specified.This permission ensures you are authorized to bill the project you specify. Including a billing project is used, for example, when accessing a bucket with Requester Pays enabled.
Permissions required for specific actions
Action | Required IAM Permissions (in addition to those listed above) |
---|---|
Create a bucket | storage.buckets.create |
Attach a tag to a bucket | storage.buckets.createTagBinding |
List or filter buckets | No additional permissions |
List tags directly attached to a bucket | storage.buckets.listTagBindings |
List both inherited tags and tags directly attached to a bucket | storage.buckets.listEffectiveTags |
View the following bucket information:
|
storage.buckets.get |
Change the following bucket settings:
|
storage.buckets.get storage.buckets.update |
Enable the Requester Pays feature | storage.buckets.get storage.buckets.update |
Disable the Requester Pays feature | storage.buckets.get storage.buckets.update resourcemanager.projects.createBillingAssignment 3 |
Change the public access prevention setting | storage.buckets.get storage.buckets.setIamPolicy storage.buckets.update |
Change bucket permissions | storage.buckets.get storage.buckets.getIamPolicy storage.buckets.setIamPolicy storage.buckets.update |
Delete an empty bucket | storage.buckets.delete storage.objects.list |
Delete a non-empty bucket | storage.buckets.delete storage.objects.delete storage.objects.list |
Detach a tag from a bucket | storage.buckets.deleteTagBinding |
Upload an object or folder of objects | storage.objects.create storage.objects.delete 1 |
View the details for an object5 | storage.objects.get storage.objects.list |
View the version history of an object | storage.objects.get storage.objects.list |
Download an object5 or folder of objects | storage.objects.get storage.objects.list |
List objects in a bucket | storage.objects.list |
Determine if an object is publicly accessible5 | storage.buckets.getIamPolicy storage.objects.list storage.objects.getIamPolicy 4 |
Rename an object or restore a noncurrent version of an object | storage.objects.create storage.objects.delete storage.objects.get storage.objects.list storage.objects.getIamPolicy 4storage.objects.setIamPolicy 4 |
Copy an object | storage.objects.create storage.objects.delete 1storage.objects.get storage.objects.list storage.objects.getIamPolicy 2,4storage.objects.setIamPolicy 2,4 |
Move an object | storage.objects.create storage.objects.delete 1storage.objects.delete storage.objects.get storage.objects.list storage.objects.getIamPolicy 2,4storage.objects.setIamPolicy 2,4 |
View an object's access permissions5,6 | storage.objects.get storage.objects.list storage.objects.getIamPolicy |
Edit an object's access permissions5,6 | storage.objects.get storage.objects.list storage.objects.getIamPolicy storage.objects.setIamPolicy storage.objects.update |
Edit an object's metadata5 | storage.objects.get storage.objects.list storage.objects.update |
Add or remove a hold on an object5 | storage.objects.get storage.objects.list storage.objects.update |
Delete an object5, a noncurrent version of an object, or a folder of objects | storage.objects.delete storage.objects.list |
View the name of a project's Cloud Storage service agent | resourcemanager.projects.get |
View the service account HMAC keys for a project | resourcemanager.projects.get storage.hmacKeys.list |
Create an HMAC key for a service account | resourcemanager.projects.get storage.hmacKeys.list storage.hmacKeys.create |
Disable or re-enable an HMAC key for a service account | resourcemanager.projects.get storage.hmacKeys.list storage.hmacKeys.update |
Delete an HMAC key for a service account | resourcemanager.projects.get storage.hmacKeys.list storage.hmacKeys.delete |
Create, view, or delete an HMAC key for the user account you are logged in as | resourcemanager.projects.get |
1This permission is only required if an object with the same name already exists in the destination bucket.
2This permission is only required when keeping the permissions currently applied to the source object.
3This permission is only required if you do not include a billing project in your request. See Requester Pays Use and access requirements for more information.
4This permission does not apply to buckets with uniform bucket-level access enabled.
5This action does not require storage.objects.list
if it's performed on the details page for the relevant object and you don't
access the details page from the overall list of objects for the bucket.
6This action does not apply to buckets with uniform bucket-level access enabled.
What's next
For a list of roles and the permissions they contain, see IAM roles for Cloud Storage.
Grant IAM roles at the project and bucket level.