Guest User

Untitled

a guest
Mar 5th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. {{
  2. # /opt/my-app/consul.ctmpl
  3. #
  4. # This file is read by Consul Template and rendered onto disk using
  5. # the configuration placed in /etc/consul-template.d.
  6. }}
  7.  
  8. {{ with vault "postgresql/creds/readonly" }}
  9. [config]
  10. username = "{{ .Data.username }}"
  11. password = "{{ .Data.password }}"
  12. {{ end }}
Add Comment
Please, Sign In to add comment