gcloud iam service-accounts keys list --iam-account deploy-bot@my-project-123456.iam.gserviceaccount.com

Category: Google Cloud & Workspace

gcloud iam service-accounts keys list --iam-account deploy-bot@my-project-123456.iam.gserviceaccount.com

List keys for a service account

Prints every key attached to deploy-bot with its ID, type and creation time, letting you spot stale or unexpected credentials. Old keys never expire by default, so audit this list periodically. Remove unused keys with gcloud iam service-accounts keys delete.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.