gcloud alpha iam service-accounts keys - manage service account keys
gcloud alpha iam service-accounts keys GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Manage service account keys.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- config
(ALPHA) Manage Iam key configurations.
COMMAND is one of the following:
- create
(ALPHA) Create a private key for a service account.
- delete
(ALPHA) Delete a user-managed key from a service account.
- disable
(ALPHA) Disable a public key related to an IAM service account.
- enable
(ALPHA) Enable a public key related to an IAM service account.
- get-public-key
(ALPHA) Get the public key for a service account key pair.
- list
(ALPHA) List the keys for a service account.
- upload
(ALPHA) Upload a public key for an IAM service account.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud iam service-accounts keys
$ gcloud beta iam service-accounts keys