Skip to content

Instantly share code, notes, and snippets.

@skarnecki
Created September 30, 2016 11:01
Show Gist options
  • 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