I am looking for a way to easily inject secrets as env vars for local environments from developer machine/laptop. Wanting to keep env files as secrets, but easily inject them during runtime.
Example:
The command: npm run start
Will grab ENV vars from a secret that contains all the environmental vars stored in vault.
I don’t know doppler but in normal nodejs you should be able to run external programs. As long as you’re authenticated to vault consul-template is a program that allows you to programmatically get secret(s) into something you need.