- gcloud alpha kms keys - create and manage keys
gcloud alpha kms keys GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) A key represents a logical key that can be used for cryptographic
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
GROUP is one of the following:
(ALPHA) Create and manage versions.
COMMAND is one of the following:
(ALPHA) Add IAM policy binding for a kms key.
(ALPHA) Create a new key.
(ALPHA) Get metadata for a given key.
(ALPHA) Get the IAM policy for a key.
(ALPHA) List the keys within a keyring.
(ALPHA) Remove IAM policy binding for a kms key.
(ALPHA) Remove the rotation schedule for a key.
(ALPHA) Set the IAM policy for a key.
(ALPHA) Set the primary version of a key.
(ALPHA) Update the rotation schedule for a key.
(ALPHA) Update a key.
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud kms keys $ gcloud beta kms keys