gcloud kms keys versions Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud kms keys versions - create and manage versions
- SYNOPSIS
gcloud kms keys versionsCOMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- A version represents an individual cryptographic key and the associated keymaterial.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - COMMANDS
is one of the following:COMMANDcreate- 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.
- NOTES
- These variants are also available:
gcloudalphakmskeysversionsgcloudbetakmskeysversions
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.