Better to condition on HSM use than envrironment, SC-2670
This commit is contained in:
parent
62c2614b43
commit
bcc9ec7833
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ class eid::connector (
|
|||
content => template("eid/connector/application-${environment}.yml.erb")
|
||||
}
|
||||
|
||||
if ($environment == 'qa') {
|
||||
# If we dont use HSM, we need the keys on disk
|
||||
if (unless $use_hsm) {
|
||||
sunet::snippets::secret_file {"${connector_directory}/credentials/metadata.key":
|
||||
hiera_key => 'eidas_metadata_key',
|
||||
base64 => true
|
||||
|
|
Loading…
Add table
Reference in a new issue