Difference between revisions of "GCP cloud roles"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[gcloud iam roles]] describe | [[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/iam.serviceAccountKeyAdmin]] | ||
[[roles/owner]] | [[roles/owner]] | ||
Line 10: | Line 13: | ||
[[roles/]]storage.[[objectAdmin]] | [[roles/]]storage.[[objectAdmin]] | ||
[[roles/cloudsql.admin]] | [[roles/cloudsql.admin]] | ||
+ | [[roles/cloudsql.editor]] | ||
+ | [[roles/storage.objects.create]] | ||
+ | [[roles/container.developer]] | ||
+ | |||
+ | |||
+ | * [[Cloud SQL]] IAM roles: https://cloud.google.com/sql/docs/mysql/iam-roles | ||
== Related == | == Related == |
Revision as of 04:49, 3 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/storage.objectAdmin roles/cloudsql.admin roles/cloudsql.editor roles/storage.objects.create roles/container.developer
Related
See also
Advertising: