enabling SP metadata signing for QA

This commit is contained in:
Maria Haider 2025-03-07 12:46:57 +01:00
parent 1012d7b950
commit 8c5f096b58
Signed by: mariah
GPG key ID: 7414A760CA747E57
3 changed files with 101 additions and 0 deletions

View file

@ -180,3 +180,93 @@ connector_enc_key: >
gf8feOOE5KYAAM+NoD31J0ebcljMaQLInOX1S1GrmH4hffWyvSPFNJKAs/we
ho2CGYAbwlxDhcfUA+RE4JQnhIHAxQWxV8]
sc_md_signer_key: >
ENC[PKCS7,MIIPhgYJKoZIhvcNAQcDoIIPdzCCD3MCAQAxggKKMIIChgIBAD
BuMFYxCzAJBgNVBAYTAlNFMQ4wDAYDVQQKDAVTVU5FVDEOMAwGA1UECwwFRV
lBTUwxJzAlBgNVBAMMHmNvbm5lY3Rvci1xYS1zdG8xLTEua29tcmVnLm5ldA
IUB3/P/2bKTKX2n6zgyITK19GrzcowDQYJKoZIhvcNAQEBBQAEggIAaj42Vv
8OVNJXbFCk9jKtSiwqj0EOJ5tz6zfVqPCcJb2X1EIbRG54xdT0y0EhQKsjvX
HGXGif48jPQlFthgDiEt24HQaVuKHFGJFJlLQTrKoN/O5m8oRIi0PlX7pTtd
bAIwyGNV1s3tWx+arp+bs7wkukVFXWVpwNEgbMRO7jNMpjiW1AkczuMgs0l4
GBIJizWpmYdu/oD1N8LCzIwKFcFbWLMpPRqiJuqwgMy6askAmq/Pwz2zABi7
N3bpbAPK/iJviMKwP9TBo0vqp0D4lUvovc8dFE9laeWqPFiUd5gns/llIvxY
lRyEcf0rHCqSLTTDEI4FSm89emBIPTeHS/wFqE2P8dGx/aLOlsRDZL4Yxtvi
WP6HDUqUhEd1wneLe80aCNaDOlFX1N5stng7q2oVhibSm2ECSVcAGASNY285
3ZaXsPQCeAS7mGxcqo7w5ry3jnDTTRVbIbJumI443bWIoibzhV5JrfgYES3E
CC2emvQywoJ1K+6hqMU3oynhKUN/XbL3XJ7VQlEnjzxjXJPDCIwHRUBwUVLL
zpSPjg8s/mdcgk4wi0HClHq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tFaUNW6/8Q0TLr8ht
TwFGnfr5LUVRlcP/COlpQbg0UANAAV5IRzZrtszua1XPaj8Cvr1qPYSVfKc4
o1NS4YemDjLu3rhEoIGiH8yEGbLaKxQ+4kKCegPGNTAhL9DL/s32vNjvizyF
XQ1zntBYG0DpUOEB3CQUwI6GhdzJY3rIVv5Cm4NfOx+rifvmthGm0jug47Gb
QmCOXveWAM3JsZfmfWGXz7TR2uiedYaeKBDH6wtd/cW4x/M87sM8o2KmE3TU
njy/W7IafHt+xwB401YLRVOR4RgfrXOY2f]

View file

@ -50,6 +50,9 @@ class eid::connector (
sunet::snippets::secret_file {"${connector_directory}/credentials/connector-${environment}-enc.key":
hiera_key => 'connector_enc_key',
}
sunet::snippets::secret_file {"${connector_directory}/credentials/sc-${environment}-md-signer.key":
hiera_key => 'sc_md_signer_key',
}
}
sunet::docker_compose { 'eidas-connector':

View file

@ -69,6 +69,10 @@ credential:
name: "Connector Encryption Credential"
certificates: file:${CONNECTOR_DIRECTORY}/credentials/connector-qa-enc.crt
private-key: file:${CONNECTOR_DIRECTORY}/credentials/connector-qa-enc.key
connector-metadata-sign:
name: "Connector Metadata Sign Credential"
certificates: file:${CONNECTOR_DIRECTORY}/credentials/sc-qa-md-signer.crt
private-key: file:${CONNECTOR_DIRECTORY}/credentials/sc-qa-md-signer.key
monitoring:
enabled: true
test-interval: 10m
@ -81,6 +85,10 @@ connector:
eu-metadata:
location: https://<%= @environment %>.md.eidas.swedenconnect.se/role/idp.xml
validation-certificate: file:${CONNECTOR_DIRECTORY}/credentials/sc-qa-md-signer.crt
eidas:
credentials:
metadata-sign:
bundle: connector-metadata-sign
prid:
policy-resource: file:${CONNECTOR_DIRECTORY}/prid/policy.properties
idp: