CryptoKeyVersion

Create a new CryptoKeyVersion in a CryptoKey. The server will assign the next sequential id. If unset, state will be set to ENABLED. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Properties

Link copied to clipboard
val algorithm: Output<String>

The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.

Link copied to clipboard

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.

Link copied to clipboard
val createTime: Output<String>

The time at which this CryptoKeyVersion was created.

Link copied to clipboard
val cryptoKeyId: Output<String>
Link copied to clipboard

The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.

Link copied to clipboard
val destroyTime: Output<String>

The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.

Link copied to clipboard

The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.

Link copied to clipboard

ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.

Link copied to clipboard
val generateTime: Output<String>

The time this CryptoKeyVersion's key material was generated.

Link copied to clipboard

The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.

Link copied to clipboard
val importJob: Output<String>

The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.

Link copied to clipboard
val importTime: Output<String>

The time at which this CryptoKeyVersion's key material was most recently imported.

Link copied to clipboard
val keyRingId: Output<String>
Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name for this CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*. ////*/

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val protectionLevel: Output<String>

The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.

Link copied to clipboard
val state: Output<String>

The current state of the CryptoKeyVersion.

Link copied to clipboard
val urn: Output<String>