Data Source: aws_secretsmanager_secret_rotation

Retrieve information about a Secrets Manager secret rotation. To retrieve secret metadata, see the aws_secretsmanager_secret data source. To retrieve a secret value, see the aws_secretsmanager_secret_version data source.

Example Usage

Retrieve Secret Rotation Configuration

data "aws_secretsmanager_secret_rotation" "example" {
  secret_id = data.aws_secretsmanager_secret.example.id
}

Argument Reference

Attribute Reference

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