Skip to content

Commit

Permalink
Adjust the name of the secret
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jul 18, 2024
1 parent 71e55a6 commit fb099bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cloud-info/ams-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion deploy/roles/catchall/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb099bd

Please sign in to comment.