File: //snap/google-cloud-cli/394/help/man/man1/gcloud_kms_keys_versions.1
.TH "GCLOUD_KMS_KEYS_VERSIONS" 1
.SH "NAME"
.HP
gcloud kms keys versions \- create and manage versions
.SH "SYNOPSIS"
.HP
\f5gcloud kms keys versions\fR \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
A version represents an individual cryptographic key and the associated key
material.
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-help.
Run \fB$ gcloud help\fR for details.
.SH "COMMANDS"
\f5\fICOMMAND\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBcreate\fR
Create a new version.
.TP 2m
\fBdescribe\fR
Get metadata for a given version.
.TP 2m
\fBdestroy\fR
Schedule a version to be destroyed.
.TP 2m
\fBdisable\fR
Disable a given version.
.TP 2m
\fBenable\fR
Enable a given version.
.TP 2m
\fBget\-certificate\-chain\fR
Get a certificate chain for a given version.
.TP 2m
\fBget\-public\-key\fR
Get the public key for a given version.
.TP 2m
\fBimport\fR
Import a version into an existing crypto key.
.TP 2m
\fBlist\fR
List the versions within a key.
.TP 2m
\fBrestore\fR
Restore a version scheduled for destruction.
.TP 2m
\fBupdate\fR
Update a key version.
.RE
.sp
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha kms keys versions
.RE
.RS 2m
$ gcloud beta kms keys versions
.RE