alicloud_kms_key

A kms key can help user to protect data security in the transmission process. For information about Alikms Key and how to use it, see What is Resource Alikms Key.

Example Usage

Basic Usage

resource "alicloud_kms_key" "key" {
  description            = "Hello KMS"
  pending_window_in_days = "7"
  status                 = "Enabled"
}

Argument Reference

The following arguments are supported:

Attributes Reference

Import

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

$ terraform import alicloud_kms_key.example <id>