hardgcloud
Revoke and delete a specific service account key by its ID
command
gcloud iam service-accounts keys delete KEY_ID --iam-account SA_EMAILalso accepted
gcloud iam service-accounts keys deletecommand
gcloud iam service-accounts keys delete KEY_ID --iam-account SA_EMAILalso accepted
gcloud iam service-accounts keys deletePart of the Google Cloud CLI (gcloud) — IAM & Service Accounts category.
| Flag | Purpose |
|---|---|
--iam-account | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →