secret-generator
Adaptavist/secret-generator/module
Secrets Generator Lambda This module creates a lambda which generates a secret value and stores the value in SSM. The module requires npm to be installed. Once the lambda generated by this module is in place, the lambda can be used as part of a solution to generate secrets and store them in SSM. This is achieved by using this module in conjunction with the aws-secret module. The benefit of this approach is that secrets can be managed by Infrastructure as code (IaC) and secrets will never be leaked into the remote state or the CI/CD tooling context. The Lambda supports importing of existing secrets into IaC. How it works This module creates a Lambda which processes the required events for a CloudFormation custom resource , the custom resource events which follow a CRUD like operation are ma
| Name | Type | Description | Default |
|---|---|---|---|
| namespace | string | Namespace used for the Lambda, this is used for tagging and within the Lambda na | required |
| stage | string | The stage of the distribution - (dev, staging etc). | required |
| tags | map(string) | Tags applied to the distribution, these should follow what is defined [here](htt | required |
| lambda_name | string | Name given to the Lambda which generates secrets | "ssm-secret-generator" |
lambda_name — Name given to the lambda