DEV Community

Discussion on: 4 Reasons Not To Use Environment Variables

 
bentorvo profile image
Ben Brazier

The main disadvantages to environment variables are listed in my article. Security isn't really a concern since the host has access to the variables regardless of how you store them and environment variables are written to files.

Usually secrets are stored in a secret manager or database and pulled in when the software is being packaged/configured by automation.