get_active_realm_key
Retrieve the active signing key for a Keycloak realm based on key type, enabling secure token validation and cryptographic operations.
Instructions
Get the active key for the realm by key type.
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": {
"realm": "<realm>",
"kty": "<kty>"
},
"name": "get_active_realm_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| kty | Yes | Key type (e.g. RSA, EC) |