GoogleCloudKmsV1CryptoKeyVersion
import type { GoogleCloudKmsV1CryptoKeyVersion } from "https://googleapis.deno.dev/v1/kmsinventory:v1.ts";
A CryptoKeyVersion represents an individual cryptographic key, and the associated key material. An ENABLED version can be used for cryptographic operations. For security reasons, the raw cryptographic key material represented by a CryptoKeyVersion can never be viewed or exported. It can only be used to encrypt, decrypt, or sign data when an authorized user or application invokes Cloud KMS.
§Properties
Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
Output 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.
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
Output only. The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
Output only. The time this CryptoKeyVersion's key material was generated.
Output only. The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
Output only. The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
Output only. The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
Output only. The time at which this CryptoKeyVersion's key material was most recently imported.
Output only. The resource name for this CryptoKeyVersion in the format
projects/*\/locations/*\/keyRings/*\/cryptoKeys/*\/cryptoKeyVersions/*
.
Output only. The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
Output only. Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
The current state of the CryptoKeyVersion.