All Modules
AWSSecurity
Secrets Manager
Secret storage with KMS encryption and optional cross-region replication
Usage
module "secrets_manager" {
source = "github.com/fencepencil/fencepencil-aws-modules//secrets-manager"
name = "<name>"
tags = var.tags
}Inputs (6)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name | string | Name of the secret | — | yes |
kms_key_arn | string | KMS key ARN for encryption | null | no |
recovery_window_in_days | number | Days before permanent deletion | 30 | no |
secret_string | string | Secret string value to store | null | no |
replica_regions | list(object) | Regions for cross-region replication | [] | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (3)
| Name | Description |
|---|---|
secret_arn | ARN of the secret |
secret_id | ID of the secret |
secret_name | Name of the secret |