2 ms·
> Things like vault which was suggested still requires you to pass the vault token in to your app somehow. And even then if your application does not have direc
by thayne 2y ago
> Things like vault which was suggested still requires you to pass the vault token in to your app somehow. And even then if your application does not have direct vault support you will still be using vault to supply secrets via environment variables, its even the recommended way with Nomad and their template system.
Indeed. But ideally the "somehow" that you pass that in is not an environment variable. Maybe something like a secure in-memory file that only your container/systemd service/whatever has access to that's injected by something like kubernetes/docker secrets, or systemd-creds, etc.
- mbrumlow 2y agoSure there are more secure ways if you own the code base. But listen you have a mix of those in any system. Consul template can render a config in memory. That is safer. But my gripe is the phrase. The phrase leads to worse situations.
- cpill 2y agoI'm sorry, but is there any data on how many leaks there have been because of .env files vs whatever people think it's even more safe?