GCP roles
Jump to navigation
Jump to search
- IAM roles and permissions index https://cloud.google.com/iam/docs/understanding-roles
- Roles and permissions https://docs.cloud.google.com/iam/docs/roles-overview
Contents
Commands[edit]
gcloud iam roles list gcloud iam roles describe
Official example[edit]
gcloud projects add-iam-policy-binding example-project-id-1 --member='user:[email protected]' --role='roles/editor'
Others[edit]
roles/iam.serviceAccountKeyAdmin
roles/owner roles/editor roles/admin roles/writer
roles/cloudsql.admin roles/cloudsql.editor
Storage[edit]
roles/storage.admin roles/storage.objects.create roles/storage.objectAdmin roles/storage.objectViewer roles/storage.objectUser roles/storage.bucketViewer roles/storage.legacyBucketWriter
storage.buckets.create storage.buckets.createTagBinding storage.buckets.delete storage.buckets.deleteTagBinding storage.buckets.get storage.buckets.getIamPolicy storage.buckets.list storage.buckets.listEffectiveTags storage.buckets.listTagBindings storage.buckets.setIamPolicy storage.buckets.update
roles/compute.admin
roles/container.admin roles/container.developer roles/container.viewer
roles/compute.osLogin
Artifactregistry[edit]
- roles/artifactregistry.reader, artifactregistry.writer, artifactregistry.editor, artifactregistry.createOnPushWriter
Errors[edit]
Related[edit]
- Service accounts
- AWS IAM role
--role- google_project_iam_policy
gcloud projects get-iam-policy $(gcloud config get-value project)- GKE roles
See also[edit]
Advertising: