renew_vault_certificates/templates/vault_key.pem.tpl.j2

6 lines
590 B
Plaintext
Raw Normal View History

2023-04-18 19:50:21 +00:00
{% raw %}{{ with secret {% endraw %}"{{ renew_vault_certificates_info['issuer_path'] }}" "common_name={{ renew_vault_certificates_info['common_name'] }}" "ttl={{ renew_vault_certificates_info['ttl'] }}" "alt_names=localhost{% if renew_vault_certificates_info['include_consul_service'] %},{{ renew_vault_certificates_consul_service_name }},active.{{ renew_vault_certificates_consul_service_name }},standby.{{ renew_vault_certificates_consul_service_name }}{% endif %}" "ip_sans=127.0.0.1"{% raw %} }}{% endraw %}
2023-04-16 20:26:14 +00:00
{% raw %}{{ .Data.private_key }}{% endraw %}
2023-04-18 19:50:21 +00:00
{% raw %}{{ end }}{% endraw %}