Created
June 8, 2018 14:28
-
-
Save JayH5/a6af192f68d95caf17e86a070ef2aedc to your computer and use it in GitHub Desktop.
Consul Template template for Vault private key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ 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