hardgcloud

Grant a service account the Storage Admin role on a project

command

gcloud projects add-iam-policy-binding PROJECT_ID --member serviceAccount:SA_EMAIL --role roles/storage.admin

also accepted

gcloud projects add-iam-policy-bindinggcloud projects add-iam-policy-binding PROJECT_ID --member serviceAccount

Test your recall — not just your reading.

Practice with interactive quiz →