paulbsd-salt/states/acme/pkic.sls

17 lines
505 B
Plaintext
Raw Normal View History

2021-01-24 20:04:03 +01:00
# vim:syntax=yaml
{%- from "acme/map.jinja" import acme with context %}
2021-07-11 17:37:42 +02:00
---
2022-10-01 20:10:31 +02:00
{% for k, v in acme.certificates.items() %}
pki-fetched-{{ k }}:
2021-07-11 17:37:42 +02:00
pki.fetched:
2022-10-01 20:10:31 +02:00
- name: pki-fetched-nginx
2021-07-18 10:02:15 +02:00
- url: {{ acme.provider.pki.url }}
- username: {{ acme.provider.pki.username }}
- password: {{ acme.provider.pki.password }}
2022-10-01 20:10:31 +02:00
- domains: {{ v.domains }}
2024-04-20 19:18:49 +02:00
- provider: {{ v.provider }}
2022-10-01 20:10:31 +02:00
- certfile: {{ v.certfile }}
- fullcertfile: {{ v.fullcertfile }}
- keyfile: {{ v.keyfile }}
2024-04-20 19:18:49 +02:00
{% endfor %}