» alicloud_kms_key_version

Provides a Alikms Key Version resource. For information about Alikms Key Version and how to use it, see What is Resource Alikms Key Version.

» Example Usage

Basic Usage

resource "alicloud_kms_key" "this" {}

resource "alicloud_kms_key_version" "keyversion" {
  key_id = alicloud_kms_key.this.id
}

» Argument Reference

The following arguments are supported:

  • key_id - (Required, ForceNew) The id of the master key (CMK).

» Attributes Reference

  • creation_date - 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.

» Import

Alikms key version can be imported using the id, e.g.

$ terraform import alicloud_kms_key_version.example 72da539a-2fa8-4f2d-b854-*****