FEATURES PRICING ABOUT DOCS LOGIN

aws_kms_key

Provides a KMS customer master key.

Example Usage

resource "aws_kms_key" "a" {
    description = "KMS key 1"
    deletion_window_in_days = 10
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

KMS Keys can be imported using the id, e.g.

$ terraform import aws_kms_key.a arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

See the source of this document at Terraform.io

REQUEST A DEMO