Skip to content

Instantly share code, notes, and snippets.

@skarnecki
Created September 30, 2016 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skarnecki/55fd205bf38f49a3fd719d41ee529518 to your computer and use it in GitHub Desktop.
Save skarnecki/55fd205bf38f49a3fd719d41ee529518 to your computer and use it in GitHub Desktop.
{
{{with $secret := secret "secret/vaultpoc/mysql" }}
"user": "{{$secret.Data.user}}",
"password": "{{$secret.Data.password}}",
"host": "{{$secret.Data.host}}",
{{end}}
"dns": "{{key "vaultpoc/dns"}}",
"debug": "{{key "vaultpoc/debug"}}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment