← IAM414 / 640
hardgcloud

Replace the entire IAM policy on a project with a policy defined in a JSON file

command

gcloud projects set-iam-policy PROJECT_ID POLICY_FILE

also accepted

gcloud projects set-iam-policy

Test your recall — not just your reading.

Practice with interactive quiz →