|
|
|
|
|
by califield
4185 days ago
|
|
I use the `dotenv`[1] package with Node.js and it does exactly the same thing: environment variable definitions that you can store elsewhere in a dead-simple format. To be fair, I think they just copied the `foreman` tool from Heroku. However, it works great. Most projects don't need anything more than a flat hierarchy of secret keys and values. Writing your own parser for a `.env` file is a piece of cake, even in shell language. Adding `etcd` is better, but it's too much work for a small project. [1] https://github.com/motdotla/dotenv |
|
How do the secrets get safely distributed to the machines where they are needed?
How to revoke/rotate a secret, especially once a compromise is suspected?
How to perform all this in DevOps-y, automated systems?
This is the problem space I work in.