Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{
- # /opt/my-app/consul.ctmpl
- #
- # This file is read by Consul Template and rendered onto disk using
- # the configuration placed in /etc/consul-template.d.
- }}
- {{ with vault "postgresql/creds/readonly" }}
- [config]
- username = "{{ .Data.username }}"
- password = "{{ .Data.password }}"
- {{ end }}
Add Comment
Please, Sign In to add comment