NAME

gcloud alpha kms keys versions - create and manage versions

SYNOPSIS

gcloud alpha kms keys versions COMMAND [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) A version represents an individual cryptographic key and the associated key material.

GCLOUD WIDE FLAGS

These flags are available to all commands: --help.

Run $ gcloud help for details.

COMMANDS

COMMAND is one of the following:

create

(ALPHA) Create a new version.

describe

(ALPHA) Get metadata for a given version.

destroy

(ALPHA) Schedule a version to be destroyed.

disable

(ALPHA) Disable a given version.

enable

(ALPHA) Enable a given version.

get-certificate-chain

(ALPHA) Get a certificate chain for a given version.

get-public-key

(ALPHA) Get the public key for a given version.

import

(ALPHA) Import a version into an existing crypto key.

list

(ALPHA) List the versions within a key.

restore

(ALPHA) Restore a version scheduled for destruction.

update

(ALPHA) Update a key version.

NOTES

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 kms keys versions

$ gcloud beta kms keys versions