Cloud KMS CryptoKeyVersion

A Cloud KMS CryptoKeyVersion in Google Cloud represents a specific version of a cryptographic key within a Cloud KMS key. Each version contains the actual key material used for encryption, decryption, signing, or verification. Key versions allow for key rotation and lifecycle management, enabling secure updates without disrupting applications.

gcp.cloudkms_crypto_key_version

Fields

TitleIDTypeData TypeDescription
_keycorestring
algorithmcorestringOutput only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
ancestorscorearray<string>
attestationcorejsonOutput only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
create_timecoretimestampOutput only. The time at which this CryptoKeyVersion was created.
datadog_display_namecorestring
destroy_event_timecoretimestampOutput only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
destroy_timecoretimestampOutput only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
external_destruction_failure_reasoncorestringOutput only. The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
external_protection_level_optionscorejsonExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
generate_timecoretimestampOutput only. The time this CryptoKeyVersion's key material was generated.
generation_failure_reasoncorestringOutput only. The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
import_failure_reasoncorestringOutput only. The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
import_jobcorestringOutput only. The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
import_timecoretimestampOutput only. The time at which this CryptoKeyVersion's key material was most recently imported.
labelscorearray<string>
namecorestringOutput only. The resource name for this CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
protection_levelcorestringOutput only. The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
region_idcorestring
reimport_eligiblecoreboolOutput only. Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
resource_namecorestring
statecorestringThe current state of the CryptoKeyVersion.
tagscorehstore_csv
zone_idcorestring