keycloak_get_client_secret
Retrieve a confidential client's current secret in plain text from Keycloak. Warning: this live credential appears in the conversation; requires manage-clients permission.
Instructions
Get a confidential client's CURRENT SECRET IN PLAIN TEXT. This is a live credential — it will appear in the conversation. Requires manage-clients. (To keep it out of reach entirely, move this tool's registration behind KEYCLOAK_ALLOW_WRITES.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientUuid": "<clientUuid>"
},
"name": "keycloak_get_client_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). | |
| clientUuid | Yes | Client UUID — the `id` field, NOT the human-facing clientId string. Every /clients/{id} path takes the UUID. Get it from keycloak_list_clients. |