upload_identity_provider_certificate
Upload an identity provider certificate or JWKS to a Keycloak realm and generate the associated public key or JWKS representation for configuration.
Instructions
Uploads a certificate, prepares the jwks or public key associated, and returns the certificate representation. Requires Keycloak 26.5+.
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>",
"upload": "<upload>"
},
"name": "upload_identity_provider_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| upload | Yes | Multipart form fields: file (certificate or JWKS content as text, or file_base64 for binary content) |