Data Source: aws_secretsmanager_secrets

Use this data source to get the ARNs and names of Secrets Manager secrets matching the specified criteria.

Example Usage

data "aws_secretsmanager_secrets" "example" {
  filter {
    name   = "name"
    values = ["example"]
  }
}

Argument Reference

filter Configuration Block

The filter configuration block supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: