alicloud_kms_secret_versions

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

Example Usage

# Declare the data source
data "alicloud_kms_secret_versions" "kms_secret_versions_ds" {
  secret_name = "secret_name"
  enable_details = true
}

output "first_secret_data" {
  value = "${data.alicloud_kms_secret_versions.kms_secret_versions_ds.versions.0.secret_data}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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