Consultemplate - Random

Example of consul template using Consul:

./consul-template -template "find_address.tpl:hashicorp_address.txt"

find_address.tpl:

{{ key "/hashicorp/street_address" }}

Example of consul template using Vault:

{{ with secret "secret/data/base_test" }}
Password: {{ .Data.data.a }}{{ end }}