alicloud_kms\aliases

This data source provides a list of KMS aliases in an Alibaba Cloud account according to the specified filters.

Example Usage

# Declare the data source
data "alicloud_kms_aliases" "kms_aliases" {
  ids        = ["d89e8a53-b708-41aa-8c67-6873axxx"]
  name_regex = "alias/tf-testKmsAlias_123"
}

output "first_key_id" {
  value = "${data.alicloud_kms_keys.kms_keys_ds.keys.0.id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: