alicloud_kms_key_versions

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

Example Usage

# Declare the data source
data "alicloud_kms_key_versions" "alicloud_kms_key_versions_ds" {
  key_id = "08438c-b4d5-4d05-928c-07b7xxxx"
  ids    = ["d89e8a53-b708-41aa-8c67-6873axxx"]
}

output "all_versions" {
  value = "${data.alicloud_kms_key_versions.alicloud_kms_key_versions_ds.versions}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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