Difference between revisions of "GCP cloud roles"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
* [[Cloud SQL]] IAM roles: https://cloud.google.com/sql/docs/mysql/iam-roles | * [[Cloud SQL]] IAM roles: https://cloud.google.com/sql/docs/mysql/iam-roles | ||
+ | |||
+ | == Error == | ||
+ | * <code>[[Denied: Token exchange failed for project ... Caller does not have permission 'storage.buckets.get']]</code> | ||
+ | |||
+ | |||
== Related == | == Related == | ||
Line 30: | Line 35: | ||
* [[AWS IAM role]] | * [[AWS IAM role]] | ||
* <code>[[--role]]</code> | * <code>[[--role]]</code> | ||
− | |||
== See also == | == See also == |
Revision as of 09:48, 28 November 2022
gcloud iam roles list gcloud iam roles describe
Official example:
gcloud projects add-iam-policy-binding example-project-id-1 --member='user:[email protected]' --role='roles/editor'
Others:
roles/iam.serviceAccountKeyAdmin
roles/owner roles/editor
roles/cloudsql.admin roles/cloudsql.editor
roles/storage.objects.create roles/storage.objectAdmin roles/storage.objectViewer roles/storage.legacyBucketWriter
roles/container.developer
Error
Related
See also
Advertising: