summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
blob: 59c9b82745e0d3f489da60d47e2de8d193183de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<%- | String $base_url,
      String $cookie_secret,
      String $csrf_key,
      String $server_certificate,
      String $server_key,
      String $client_cas,
      String $listen_address,
      Array[String] $admin_emails,
      Array[String] $api_signature_key_lines,
      String $api_client_id,
      String $api_cas,
      String $api_endpoint_url,
      String $log_directory
| -%>
---
client_ca_certificates: <%= $client_cas %>
server_certificate: <%= $server_certificate %>
server_key: <%= $server_key %>
cookie_secret: <%= $cookie_secret %>
csrf_key: <%= $csrf_key %>
base_url: <%= $base_url %>
https_address: <%= $listen_address %>
admin_emails:
<%- $admin_emails.each |$admin_email| { %>
- <%= $admin_email %>
<%- } %>
api_private_key: |
<% $api_signature_key_lines.each |$key_line| { %>  <%= $key_line %><% } %>
api_client_id: <%= $api_client_id %>
api_ca_certificates: <%= $api_cas %>
api_endpoint_url: <%= $api_endpoint_url %>
access_log: <%= $log_directory %>/access.log