Add conf files for new test-my-eid in test, SC-2873

This commit is contained in:
Patrik Holmqvist 2025-03-12 16:09:42 +01:00
parent e209774f5a
commit 7211162e5e
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273
3 changed files with 86 additions and 0 deletions

View file

@ -27,4 +27,14 @@ class eid::test_my_eid (
file {["${service_dir}",'/var/log/test-my-eid','/etc/ssl']: ensure => directory }
# Create the environment specific config files from template
file { "${service_dir}/application-${environment}.yml":
ensure => 'file',
content => template("eid/test_my_eid/application-${environment}.yml.erb")
}
file { "${service_dir}/idp-disco-${environment}.yml":
ensure => 'file',
content => template("eid/test_my_eid/idp-disco-${environment}.yml.erb")
}
}

View file

@ -0,0 +1,68 @@
---
credential:
bundles:
keystore:
sp-keys-store:
location: file:${SP_CONFIG_DIRECTORY}/credentials/sp-keys.jks
type: JKS
password: secret
jks:
sp-sign:
name: sp-sign-key
store-reference: sp-keys-store
key:
alias: sign
key-password: secret
sp-decrypt:
name: sp-decrypt-key
store-reference: sp-keys-store
key:
alias: encrypt
key-password: secret
sp-md-sign:
name: sp-metadata-sign
store:
location: file:${SP_CONFIG_DIRECTORY}/credentials/metadata-sign.jks
type: JKS
password: secret
key:
alias: mdsign
key-password: secret
server:
servlet:
context-path: /
session:
cookie:
domain: test.test.swedenconnect.se
sp:
base-uri: https://test.test.swedenconnect.se
entity-id: https://test.test.swedenconnect.se/testmyeid
sign-entity-id: http://test.swedenconnect.se/testmyeid-sign
credential:
sign:
bundle: sp-sign
decrypt:
bundle: sp-decrypt
md-sign:
bundle: sp-md-sign
eidas-connector:
entity-id: https://test.connector.eidas.swedenconnect.se/eidas
discovery:
ignore-contracts: true
include-only-static: true
static-idp-configuration: file:${SP_CONFIG_DIRECTORY}/idp-disco-test.yml
federation:
metadata:
url: https://test.md.swedenconnect.se/role/idp.xml
validation-certificate: file:${SP_CONFIG_DIRECTORY}/sc-test-metadata.crt
security:
algorithm-config:
use-aes-gcm: true
logging:
level:
root: WARN
testmyeid: INFO

View file

@ -0,0 +1,8 @@
---
idp:
- entity-id: https://test.connector.eidas.swedenconnect.se/eidas
- entity-id: https://idp-sweden-connect-valfr-2017-ct.test.frejaeid.com
logo-url: https://idp-sweden-connect-valfr-2017-ct.test.frejaeid.com/idp/images/frejaeid_logo.svg
logo-height: 75
logo-width: 75
- entity-id: http://test.test.swedenconnect.se/idp