DEV Community

Discussion on: 4 Reasons Not To Use Environment Variables

Collapse
 
bburgess_keys profile image
Bradley Burgess

Thanks. This only works if you control your hosting environment though, ie a dedicated / VPS server. If you're using e.g. Heroku, environment variables are your only choice for secrets, yes? Or do you propose something different?

Collapse
 
bentorvo profile image
Ben Brazier

If environment variables are your only option then fair enough. However, I would be surprised if you can't add configuration files to a Heroku package.