Skip to content

Instantly share code, notes, and snippets.

@JayH5
Created June 8, 2018 14:28
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 JayH5/a6af192f68d95caf17e86a070ef2aedc to your computer and use it in GitHub Desktop.
Save JayH5/a6af192f68d95caf17e86a070ef2aedc to your computer and use it in GitHub Desktop.
Consul Template template for Vault private key
{{ with secret "pki/vault/issue/server" "common_name=vault01" "alt_names=vault.service.internal,vault" "ip_sans=10.70.4.10,127.0.0.1" -}}
{{ .Data.private_key }}
{{- end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment