upload_client_certificate_only
Uploads a certificate to a Keycloak client attribute without changing the private key, allowing you to update only client certificate data.
Instructions
Upload only a certificate for a client attribute, without updating the private key.
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>",
"client_uuid": "<client_uuid>",
"attr": "<attr>",
"upload": "<upload>"
},
"name": "upload_client_certificate_only"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attr | Yes | Certificate attribute name | |
| realm | Yes | Realm name | |
| upload | Yes | Multipart form fields: file (certificate content as text, or file_base64 for binary content) and keystoreFormat ("Certificate PEM", "Public Key PEM" or "JSON Web Key Set") | |
| client_uuid | Yes | Client UUID |