Add metadata key used in QA connector, SC-2670

This commit is contained in:
Patrik Holmqvist 2025-02-19 10:03:13 +01:00
parent 72232b5b96
commit c466e32508
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273
2 changed files with 128 additions and 0 deletions

View file

@ -0,0 +1,121 @@
---
eidas_metadata_key: >
ENC[PKCS7,MIIUZgYJKoZIhvcNAQcDoIIUVzCCFFMCAQAxggKKMIIChgIBAD
BuMFYxCzAJBgNVBAYTAlNFMQ4wDAYDVQQKDAVTVU5FVDEOMAwGA1UECwwFRV
lBTUwxJzAlBgNVBAMMHmNvbm5lY3Rvci1xYS1zdG8xLTEua29tcmVnLm5ldA
IUB3/P/2bKTKX2n6zgyITK19GrzcowDQYJKoZIhvcNAQEBBQAEggIAmnA1a+
NE31AuK75gDJP/95JoO8BpAl/KDAlv/5ZiiCzRaH8F/b8p8SBJkw6r4HiDc+
xcI83ZDl0LXt8p35iFbWLoz378yu0dXa6zLdCzPTr6/XWw9AO6oUEPPe/yJv
PfjNC33x4d+Do1LBHmGHoPKczdi7kl8A44KyGjrcErFBdD4HUsbsuz9CDtGC
c03UkQP1w/7LpNf1hSw1Q9X0LpF/KraRp3VKjG15f3utiCo3n3IpdHQhOb9Y
cvyEVokr8ekEHHqzbz7tgqU1XhoWGHsgf1v7orzTDrkQMah0N0ncW5/b4tTI
MA19HkIe1QPpxNpCDohnJ9fLnQ/FkkAYHUSR2cTmHztF7b9loCii7PRrDm5J
8Q46yAsW/n24KLr7Ezq3g0OGdkVSKJAVdhSl4AAQWQkSxMW6A1707GGR4MqJ
vOoN1DOy2x0YusxjO6V4C72vllsWTdfHafbiZnaeFbYXF7DHc1Asy7UTyen0
YbM0WRtYt/JKWvIl5pIhJdrr/TRp6Ex8YFKl8Sg4NxBu3a6SwK3fzQ/14OiK
lH/+x71Igv4hwRUzdlmsF9X7Wc30Qq5eARgEZsh5WIFGd9zppGGNKtglOwEu
RUI1GCqbbLXbZbzcgEpq2SeCtM1G4HXjUTW5Z/0Hcy40U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Fc
Sbt3BekMMz9GCbN2lG72iH8pZZ6KEPJ3mNn57BhUCYC4WxnY9NyrM50qgVAI
Dy1eU3ORzIdWWS2xVcbCvyCXIPmF+t02U1cD85w2SKogQgA8dBoIvwO85n36
TvbN/5MuF90tt6N8sPEjYEGLStk6X2aF/yP84LF35KBCnTG9qmPceaAlZeoP
746AOu/Ey3b6OygqdxSrnrrMoJ9LG1z/Vanh/9ZIzoQ/mD1s0u6BbRGjeaUh
oUCG8ZjldmKqIbQgxgBCiJ3ty4IsokKfdAc6hoMiT0p9mAl3ZLu6/wW9x4tk
nI5qgiGRl5n3ILg8OdXygOFeiNg/yxkXsab/Fc6OS2U65UT6yIgMEvGuwVDc
jYPG1Vbv41e4Z6azZce6Xbybhn2d7DCEEFzIpb4Df2DKw6gYh2z7jF0QTInj
6HdcCQGgiu/c5N+/lOB1jV/5tNL/DPAzncWUFrBpYII//Lj4rH2qA60dcX7k
Tb6zofUbutPCUSHZe7udtWSVkqwMvPiKoyXr2WvJGjj9Pgpnp0UXGNWMQ4y/
EWYN5lPT/8D933zBcMs9tDxSb49QsOWGeI6VUwxqEmP8jimGydI6JfPQ/m8d
yS7+npP8PvaOR4eYrtHfoGYRXWV1O37fBLONs+9Q+LX/M8UK6/VhJKc4aJ8V
vhueaSfRgRIPZd3cTv4CKIzKKJ13BTvyHri9rJ+9YWoStq0+ebt2h+e4YeDo
DwmRjpPRPgumO4SupHnwrhIA+iGEuIRkyA3DRAWjzRQY/Tx2D9QekliiesQ6
QEev0UzZTSpCW5E/4f]

View file

@ -41,6 +41,13 @@ class eid::connector (
content => template("eid/connector/application-${environment}.yml.erb")
}
if ($environment == QA) {
sunet::snippets::secret_file {"${connector_directory}/credentials/metadata.key":
hiera_key => 'eidas_metadata_key',
base64 => true
}
}
sunet::docker_compose { 'eidas-connector':
content => template('eid/connector/docker-compose.yml.erb'),
service_name => 'eidas-connector',