HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/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