Skip to content

Instantly share code, notes, and snippets.

@akoserwal
Created August 23, 2024 20:19
Show Gist options
  • Save akoserwal/63e46dc6ccfa455d11ae59a73f418c9e to your computer and use it in GitHub Desktop.
Save akoserwal/63e46dc6ccfa455d11ae59a73f418c9e to your computer and use it in GitHub Desktop.
Fetch-Realm-Management-client
RE=`curl -sk --header "Content-Type: application/json" --header "Authorization: Bearer $TOKEN" $KEYCLOAK_URL/admin/realms/$REALM/clients?clientId=realm-management`
realmMgmtClientId=$(jq -r '.[].id' <<< $RE)
echo $realmMgmtClientId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment