summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/cacert_selfservice
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/templates/cacert_selfservice')
-rw-r--r--sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp8
1 files changed, 7 insertions, 1 deletions
diff --git a/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp b/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
index bdb3477..15d042b 100644
--- a/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
+++ b/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
@@ -10,7 +10,9 @@
String $api_client_id,
String $api_cas,
String $api_endpoint_url,
- String $log_directory
+ String $log_directory,
+ Array[String] $jwt_private_key_lines,
+ Integer $jwt_validity_hours,
| -%>
---
client_ca_certificates: <%= $client_cas %>
@@ -29,3 +31,7 @@ api_client_id: <%= $api_client_id %>
api_ca_certificates: <%= $api_cas %>
api_endpoint_url: <%= $api_endpoint_url %>
access_log: <%= $log_directory %>/access.log
+jwt_private_key: |
+<% $jwt_private_key_lines.each |$key_line| { %> <%= $key_line %>
+<% } -%>
+jwt_validity_hours: $jwt_validity_hours