summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp')
-rw-r--r--sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp32
1 files changed, 32 insertions, 0 deletions
diff --git a/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp b/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
new file mode 100644
index 0000000..59c9b82
--- /dev/null
+++ b/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
@@ -0,0 +1,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