DEV Community

Discussion on: Use Doppler instead of traditional .env files πŸ•

Collapse
 
dantman profile image
Daniel Friesen

I'm not really sold on the solution of paying a relativity high monthly price to store your secrets in a 3rd party service.

In some of my smaller Vercel hosted projects I've simply used Vercel's CLI to get the env.

The main project I am working on now is hosted in AWS and we already use AWS Secrets manager to store some secrets. So I just wrote a script to create the .env by reading Secrets Manager, Parameter Store parameters, and some hard-coded localhost specific values.

I might be more sold on something Dopler-like if it were an open source tool that used a config file to define where to fetch config from within whatever hosting you were already using.