Vault with consul-template

Hi guys,

consul-template can be used to render secrets into a plain text file stored in our file system. I think it’s a bad practice in security. Is there any way to pass sensitive information via process-specific environment variables?

Thanks in advance.

I think you may want envconsul. It should work with vault in addition to consul. If it doesn’t work for your use case then feel free to open a feature request in that repo.

@mkeeler Thank you. Gonna have a look at envconsul

1 Like