Skip to content

A Terraform module for creating secrets in AWS Secrets Manager

License

Notifications You must be signed in to change notification settings

wellcomecollection/terraform-aws-secrets

Repository files navigation

terraform-aws-secrets

This module is for creating secrets in AWS Secrets Manager. It allows us to treat Secrets Manager as a key-value store for secrets:

module "secrets" {
  source = "github.com/wellcomecollection/terraform-aws-secrets?ref=v1.0.0"

  key_value_map = {
    "username" = "wellcome"
    "password" = "correct horse battery staple"
  }
}

Secrets Manager itself distinguishes between a secret and a version of a secret, but that's a distinction we don't really care about -- this module means we can ignore that distinction.

About

A Terraform module for creating secrets in AWS Secrets Manager

Resources

License

Stars

Watchers

Forks