Hi, guys!
Using envconsul tool, is it possible fetch data from Consul KV and generate a dotenv file from that?
Hi, guys!
Using envconsul tool, is it possible fetch data from Consul KV and generate a dotenv file from that?
Hi @felipsmartins,
consul-template
may a better fit here. You can write a template which reads data from Consul’s KV store and then generates a dotenv formatted file.
Check out the Consul Template guide on HashiCorp Learn for more info on writing & generating templates using KV or service discovery data from Consul.