Provides a Alikms Key Version resource. For information about Alikms Key Version and how to use it, see What is Resource Alikms Key Version.
Basic Usage
resource "alicloud_kms_key" "this" {}
resource "alicloud_kms_key_version" "keyversion" {
key_id = alicloud_kms_key.this.id
}
The following arguments are supported:
key_id
- (Required, ForceNew) The id of the master key (CMK).creation_date
- (Removed from v1.124.4) The date and time (UTC time) when the Alikms key version was created.key_id
- The id of the master key (CMK).key_version_id
- The id of the Alikms key version.Alikms key version can be imported using the id, e.g.
$ terraform import alicloud_kms_key_version.example 72da539a-2fa8-4f2d-b854-*****