This version is destroyed, and the key material is no longer stored.
DestroyScheduled
This version is scheduled for destruction, and will be destroyed soon.
Call
[RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]
to put it back into the [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] state.
Disabled
This version may not be used, but the key material is still available,
and the version can be placed back into the [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] state.
Enabled
This version may be used for cryptographic operations.
ImportFailed
This version was not imported successfully. It may not be used, enabled,
disabled, or destroyed. The submitted key material has been discarded.
Additional details can be found in
[CryptoKeyVersion.import_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.import_failure_reason].
PendingGeneration
This version is still being generated. It may not be used, enabled,
disabled, or destroyed yet. Cloud KMS will automatically mark this
version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready.
PendingImport
This version is still being imported. It may not be used, enabled,
disabled, or destroyed yet. Cloud KMS will automatically mark this
version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The page documents various versions of `CryptoKeyVersionState` within the `Google.Cloud.Kms.V1` namespace, with the latest version being 3.16.0."],["The `CryptoKeyVersionState` enum defines the operational status of a `CryptoKeyVersion`, indicating whether it can be used or not."],["There are multiple states a `CryptoKeyVersion` can be in, including `Enabled`, `Disabled`, `Destroyed`, `DestroyScheduled`, `ImportFailed`, `PendingGeneration`, `PendingImport`, and `Unspecified`."],["Each state of `CryptoKeyVersion` has specific implications for its usability and management, such as the ability to be used in cryptographic operations, the availability of key material, and whether it can be restored."],["The document also provides links to the documentation for each `CryptoKeyVersion` from version 2.2.0 to the latest version of 3.16.0."]]],[]]