A Key Version in Oracle Cloud Infrastructure represents a specific cryptographic version of a master encryption key stored in the Vault service. Each version contains unique cryptographic material used for encryption and decryption operations. Key versions enable secure key rotation, allowing users to retire old keys while maintaining access to previously encrypted data.

oci.kms_key_version

Fields

TitleIDTypeData TypeDescription
_keycorestring
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringThe value to assign to the compartment_id property of this KeyVersion.
created_atcoretimestampTime when the resource has been created.
external_key_reference_detailscorejsonThe value to assign to the external_key_reference_details property of this KeyVersion.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Instance.
idcorestringThe value to assign to the id property of this KeyVersion.
is_auto_rotatedcoreboolThe value to assign to the is_auto_rotated property of this KeyVersion.
is_primarycoreboolThe value to assign to the is_primary property of this KeyVersion.
key_idcorestringThe value to assign to the key_id property of this KeyVersion.
lifecycle_statecorestringThe value to assign to the lifecycle_state property of this KeyVersion. Allowed values for this property are: "CREATING", "ENABLING", "ENABLED", "DISABLING", "DISABLED", "DELETING", "DELETED", "PENDING_DELETION", "SCHEDULING_DELETION", "CANCELLING_DELETION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
namecorestringThe name of this resource.
origincorestringThe value to assign to the origin property of this KeyVersion. Allowed values for this property are: "INTERNAL", "EXTERNAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
region_idcorestringThe region this resource resides within.
replica_detailscorejsonThe value to assign to the replica_details property of this KeyVersion.
resource_typecorestringThe name of the resource type.
restored_from_key_version_idcorestringThe value to assign to the restored_from_key_version_id property of this KeyVersion.
tagscorehstore_csv
time_createdcoretimestampThe value to assign to the time_created property of this KeyVersion.
time_of_deletioncoretimestampThe value to assign to the time_of_deletion property of this KeyVersion.
updated_atcoretimestampTime when the resource has been updated the last time.
vault_idcorestringThe value to assign to the vault_id property of this KeyVersion.
zone_idcorestringThe zone this resource resides within.