| _key | core | string | |
| algorithm | core | string | Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. Possible values: ['CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED', 'GOOGLE_SYMMETRIC_ENCRYPTION', 'AES_128_GCM', 'AES_256_GCM', 'RSA_SIGN_PSS_2048_SHA256', 'RSA_SIGN_PSS_3072_SHA256', 'RSA_SIGN_PSS_4096_SHA256', 'RSA_SIGN_PSS_4096_SHA512', 'RSA_SIGN_PKCS1_2048_SHA256', 'RSA_SIGN_PKCS1_3072_SHA256', 'RSA_SIGN_PKCS1_4096_SHA256', 'RSA_SIGN_PKCS1_4096_SHA512', 'RSA_SIGN_RAW_PKCS1_2048', 'RSA_SIGN_RAW_PKCS1_3072', 'RSA_SIGN_RAW_PKCS1_4096', 'RSA_DECRYPT_OAEP_2048_SHA256', 'RSA_DECRYPT_OAEP_3072_SHA256', 'RSA_DECRYPT_OAEP_4096_SHA256', 'RSA_DECRYPT_OAEP_4096_SHA512', 'RSA_DECRYPT_OAEP_2048_SHA1', 'RSA_DECRYPT_OAEP_3072_SHA1', 'RSA_DECRYPT_OAEP_4096_SHA1', 'EC_SIGN_P256_SHA256', 'EC_SIGN_P384_SHA384', 'EC_SIGN_SECP256K1_SHA256', 'HMAC_SHA256', 'HMAC_SHA1', 'HMAC_SHA384', 'HMAC_SHA512', 'HMAC_SHA224', 'EXTERNAL_SYMMETRIC_ENCRYPTION']. Values descriptions: ['Not specified.', 'Creates symmetric encryption keys.', 'AES-GCM (Galois Counter Mode) using 128-bit keys.', 'AES-GCM (Galois Counter Mode) using 256-bit keys.', 'RSASSA-PSS 2048 bit key with a SHA256 digest.', 'RSASSA-PSS 3072 bit key with a SHA256 digest.', 'RSASSA-PSS 4096 bit key with a SHA256 digest.', 'RSASSA-PSS 4096 bit key with a SHA512 digest.', 'RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.', 'RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.', 'RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.', 'RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.', 'RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key.', 'RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key.', 'RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key.', 'RSAES-OAEP 2048 bit key with a SHA256 digest.', 'RSAES-OAEP 3072 bit key with a SHA256 digest.', 'RSAES-OAEP 4096 bit key with a SHA256 digest.', 'RSAES-OAEP 4096 bit key with a SHA512 digest.', 'RSAES-OAEP 2048 bit key with a SHA1 digest.', 'RSAES-OAEP 3072 bit key with a SHA1 digest.', 'RSAES-OAEP 4096 bit key with a SHA1 digest.', 'ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms', 'ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms', 'ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms', 'HMAC-SHA256 signing with a 256 bit key.', 'HMAC-SHA1 signing with a 160 bit key.', 'HMAC-SHA384 signing with a 384 bit key.', 'HMAC-SHA512 signing with a 512 bit key.', 'HMAC-SHA224 signing with a 224 bit key.', 'Algorithm representing symmetric encryption by an external key manager.'] |
| ancestors | core | array<string> | |
| attestation | core | json | 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. |
| create_time | core | timestamp | Output only. The time at which this CryptoKeyVersion was created. |
| datadog_display_name | core | string | |
| destroy_event_time | core | timestamp | Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED. |
| destroy_time | core | timestamp | Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED. |
| external_destruction_failure_reason | core | string | Output only. The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED. |
| external_protection_level_options | core | json | ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels. |
| generate_time | core | timestamp | Output only. The time this CryptoKeyVersion's key material was generated. |
| generation_failure_reason | core | string | Output only. The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED. |
| import_failure_reason | core | string | Output only. The root cause of the most recent import failure. Only present if state is IMPORT_FAILED. |
| import_job | core | string | 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. |
| import_time | core | timestamp | Output only. The time at which this CryptoKeyVersion's key material was most recently imported. |
| labels | core | array<string> | |
| name | core | string | Output only. The resource name for this CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. |
| organization_id | core | string | |
| parent | core | string | |
| project_id | core | string | |
| project_number | core | string | |
| protection_level | core | string | Output only. The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. Possible values: ['PROTECTION_LEVEL_UNSPECIFIED', 'SOFTWARE', 'HSM', 'EXTERNAL', 'EXTERNAL_VPC']. Values descriptions: ['Not specified.', 'Crypto operations are performed in software.', 'Crypto operations are performed in a Hardware Security Module.', 'Crypto operations are performed by an external key manager.', 'Crypto operations are performed in an EKM-over-VPC backend.'] |
| reimport_eligible | core | bool | Output only. Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version. |
| resource_name | core | string | |
| state | core | string | The current state of the CryptoKeyVersion. Possible values: ['CRYPTO_KEY_VERSION_STATE_UNSPECIFIED', 'PENDING_GENERATION', 'ENABLED', 'DISABLED', 'DESTROYED', 'DESTROY_SCHEDULED', 'PENDING_IMPORT', 'IMPORT_FAILED', 'GENERATION_FAILED', 'PENDING_EXTERNAL_DESTRUCTION', 'EXTERNAL_DESTRUCTION_FAILED']. Values descriptions: ['Not specified.', 'This version is still being generated. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready.', 'This version may be used for cryptographic operations.', 'This version may not be used, but the key material is still available, and the version can be placed back into the ENABLED state.', 'This version is destroyed, and the key material is no longer stored. This version may only become ENABLED again if this version is reimport_eligible and the original key material is reimported with a call to KeyManagementService.ImportCryptoKeyVersion.', 'This version is scheduled for destruction, and will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into the DISABLED state.', 'This version is still being imported. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready.', '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.', 'This version was not generated successfully. It may not be used, enabled, disabled, or destroyed. Additional details can be found in CryptoKeyVersion.generation_failure_reason.', 'This version was destroyed, and it may not be used or enabled again. Cloud KMS is waiting for the corresponding key material residing in an external key manager to be destroyed.', 'This version was destroyed, and it may not be used or enabled again. However, Cloud KMS could not confirm that the corresponding key material residing in an external key manager was destroyed. Additional details can be found in CryptoKeyVersion.external_destruction_failure_reason.'] |
| tags | core | hstore | |