hardgcloud

Create a service account with a description in an explicitly specified project

command

gcloud iam service-accounts create SA_NAME --project PROJECT_ID --description DESCRIPTION

also accepted

gcloud iam service-accounts create

Command breakdown

Part of the Google Cloud CLI (gcloud) — IAM & Service Accounts category.

gcloudiamservice-accountscreateSA_NAME--projectPROJECT_ID--descriptionDESCRIPTION
FlagPurpose
--projectBoolean flag
--descriptionBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →