← IAM416 / 640
hardgcloud

Add a new permission to an existing custom IAM role

command

gcloud iam roles update ROLE_ID --project PROJECT_ID --add-permissions PERMISSION

also accepted

gcloud iam roles updategcloud iam roles update ROLE_ID --add-permissions

Test your recall — not just your reading.

Practice with interactive quiz →