Skip to main content
Secret management is a critical part of your application security and should be taken seriously. Local secrets are defined in the worspace/secrets directory which is excluded from version control (see .gitignore). Its contents should be handled with the same security as passwords. Production secrets are managed by AWS Secrets Manager.
Incase you’re missing the secrets dir, copy workspace/example_secrets

Development Secrets

Apps running locally can read secrets using a yaml file, for example:
dev_resources.py

Production Secrets

AWS Secrets are used to manage production secrets, which are read by the production apps.
prd_resources.py
Read the secret in production apps using:
Production resources can also read secrets using yaml files but we highly recommend using AWS Secrets.