This version is destroyed, and the key material is no longer stored.
A version may not leave this state once entered.
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe content outlines various versions of \u003ccode\u003eCryptoKeyVersionState\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Kms.V1\u003c/code\u003e namespace, with version 3.16.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eEach version number corresponds to a specific release of the \u003ccode\u003eCryptoKeyVersionState\u003c/code\u003e within the Google Cloud Key Management Service, with each version having it's own documentation link.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCryptoKeyVersionState\u003c/code\u003e enum defines states such as \u003ccode\u003eEnabled\u003c/code\u003e, \u003ccode\u003eDisabled\u003c/code\u003e, \u003ccode\u003eDestroyed\u003c/code\u003e, \u003ccode\u003eDestroyScheduled\u003c/code\u003e, \u003ccode\u003eImportFailed\u003c/code\u003e, \u003ccode\u003ePendingGeneration\u003c/code\u003e, and \u003ccode\u003ePendingImport\u003c/code\u003e, describing the operational status of a cryptographic key version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCryptoKeyVersionState\u003c/code\u003e describes the state of a CryptoKeyVersion and if it is currently operational, and whether it can be used for encryption/decryption.\u003c/p\u003e\n"]]],[],null,[]]