gcloud kms keys versions - create and manage versions
gcloud kms keys versions COMMAND [GCLOUD_WIDE_FLAG ...]
A version represents an individual cryptographic key and the associated key material.
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- create
Create a new version.
- describe
Get metadata for a given version.
- destroy
Schedule a version to be destroyed.
- disable
Disable a given version.
- enable
Enable a given version.
- get-certificate-chain
Get a certificate chain for a given version.
- get-public-key
Get the public key for a given version.
- import
Import a version into an existing crypto key.
- list
List the versions within a key.
- restore
Restore a version scheduled for destruction.
- update
Update a key version.
These variants are also available:
$ gcloud alpha kms keys versions
$ gcloud beta kms keys versions