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)

NameTypeDescriptionDefaultRequired
namestringName of the secretyes
kms_key_arnstringKMS key ARN for encryptionnullno
recovery_window_in_daysnumberDays before permanent deletion30no
secret_stringstringSecret string value to storenullno
replica_regionslist(object)Regions for cross-region replication[]no
tagsmap(string)Tags to apply to all resources{}no

Outputs (3)

NameDescription
secret_arnARN of the secret
secret_idID of the secret
secret_nameName of the secret

More AWS Modules

Browse our full library of AWS infrastructure modules.

View all AWS modules