terraform-aws-modules/secrets-manager
Terraform module to create AWS Secrets Manager resources.
About
Terraform module to create AWS Secrets Manager resources.
Maintained by terraform-aws-modules on the Terraform Registry. Latest version 2.2.0, 18.0M downloads. Requires providers: aws >= 6.28; random >= 3.7.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Customer-managed keys with rotation turned on from day one.
- Secrets referenced by workflows, never stored in repositories.
- One key and secret layout shared by every environment.
Inputs
No required inputs. Every variable has a default, so the first run works with an empty input form.
29 inputs, 7 outputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
aws_secretsmanager_secretaws_secretsmanager_secret_version× 2aws_secretsmanager_secret_policyaws_secretsmanager_secret_rotation
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.