From fb099bd8e421ec0df5955ad58ecdd7e99760640a Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Thu, 18 Jul 2024 11:29:13 +0100 Subject: [PATCH] Adjust the name of the secret --- cloud-info/ams-wrapper.sh | 4 ++-- deploy/roles/catchall/defaults/main.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud-info/ams-wrapper.sh b/cloud-info/ams-wrapper.sh index c217e1d9..666760e1 100755 --- a/cloud-info/ams-wrapper.sh +++ b/cloud-info/ams-wrapper.sh @@ -61,9 +61,9 @@ if test "$CHECKIN_SECRETS_PATH" = ""; then else # use service account for everyone export OS_DISCOVERY_ENDPOINT="https://aai.egi.eu/auth/realms/egi/.well-known/openid-configuration" - OS_CLIENT_ID="$(yq -r '.fedcloudops.client_id' <"$CHECKIN_SECRETS_FILE")" + OS_CLIENT_ID="$(yq -r '.checkin.client_id' <"$CHECKIN_SECRETS_FILE")" export OS_CLIENT_ID - OS_CLIENT_SECRET="$(yq -r '.fedcloudops.client_secret' <"$CHECKIN_SECRETS_FILE")" + OS_CLIENT_SECRET="$(yq -r '.checkin.client_secret' <"$CHECKIN_SECRETS_FILE")" export OS_CLIENT_SECRET export OS_ACCESS_TOKEN_TYPE="access_token" export OS_AUTH_TYPE="v3oidcclientcredentials" diff --git a/deploy/roles/catchall/defaults/main.yaml b/deploy/roles/catchall/defaults/main.yaml index 9b57c285..698934a0 100644 --- a/deploy/roles/catchall/defaults/main.yaml +++ b/deploy/roles/catchall/defaults/main.yaml @@ -6,7 +6,7 @@ ams_token: secret # AppDB details appdb_token: secret -# check-in endpoint +# checkin configuration checkin: token_endpoint: "https://aai.egi.eu/auth/realms/egi/protocol/openid-connect/token" client_id: id