This is the simplest and most common approach for local development:
Idea:
-
If running locally, load config from
.env -
If running in production/staging, fetch from AWS Parameter Store
Example
Your .env file would look like:
Use github.com/joho/godotenv to load it
No comments:
Post a Comment