Keycloak Client Attribute Certificate API
The Client Attribute Certificate API from Keycloak — 7 operation(s) for client attribute certificate.
The Client Attribute Certificate API from Keycloak — 7 operation(s) for client attribute certificate.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/keycloak:keycloak-client-attribute-certificate-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Keycloak Admin REST Client Attribute Certificate API
description: This is a REST API reference for the Keycloak Admin REST API.
version: '1.0'
tags:
- name: Client Attribute Certificate
paths:
/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
- name: client-uuid
in: path
description: id of client (not client-id!)
required: true
schema:
type: string
- name: attr
in: path
required: true
schema:
type: string
get:
tags:
- Client Attribute Certificate
summary: Get key info
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CertificateRepresentation'
operationId: getAdminRealmsByRealmClientsByClientUuidCertificatesByAttr
x-operation-id-source: derived
/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/download:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
- name: client-uuid
in: path
description: id of client (not client-id!)
required: true
schema:
type: string
- name: attr
in: path
required: true
schema:
type: string
post:
tags:
- Client Attribute Certificate
summary: Get a keystore file for the client, containing the public certificate
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KeyStoreConfig'
responses:
'200':
description: OK
content:
application/octet-stream:
schema:
format: binary
type: string
deprecated: true
operationId: postAdminRealmsByRealmClientsByClientUuidCertificatesByAttrDownload
x-operation-id-source: derived
/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
- name: client-uuid
in: path
description: id of client (not client-id!)
required: true
schema:
type: string
- name: attr
in: path
required: true
schema:
type: string
post:
tags:
- Client Attribute Certificate
summary: Generate a new certificate with new key pair
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CertificateRepresentation'
deprecated: true
operationId: postAdminRealmsByRealmClientsByClientUuidCertificatesByAttrGenerate
x-operation-id-source: derived
/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate-and-download:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
- name: client-uuid
in: path
description: id of client (not client-id!)
required: true
schema:
type: string
- name: attr
in: path
required: true
schema:
type: string
post:
tags:
- Client Attribute Certificate
summary: Generate a new keypair and certificate, and get the private key file Generates…
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KeyStoreConfig'
responses:
'200':
description: OK
content:
application/octet-stream:
schema:
format: binary
type: string
deprecated: true
operationId: postAdminRealmsByRealmClientsByClientUuidCertificatesByAttrGenerateAndDownload
x-operation-id-source: derived
/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
- name: client-uuid
in: path
description: id of client (not client-id!)
required: true
schema:
type: string
- name: attr
in: path
required: true
schema:
type: string
post:
tags:
- Client Attribute Certificate
summary: Upload only certificate, not private key
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CertificateRepresentation'
deprecated: true
operationId: postAdminRealmsByRealmClientsByClientUuidCertificatesByAttrUpload
x-operation-id-source: derived
/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload-certificate:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
- name: client-uuid
in: path
description: id of client (not client-id!)
required: true
schema:
type: string
- name: attr
in: path
required: true
schema:
type: string
post:
tags:
- Client Attribute Certificate
summary: Upload only certificate, not private key
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CertificateRepresentation'
operationId: postAdminRealmsByRealmClientsByClientUuidCertificatesByAttrUploadCertificate
x-operation-id-source: derived
/admin/realms/{realm}/identity-provider/upload-certificate:
parameters:
- name: realm
in: path
description: realm name (not id!)
required: true
schema:
type: string
post:
tags:
- Client Attribute Certificate
summary: Uploads a certificate, prepares the jwks or public key associated, and returns…
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CertificateRepresentation'
operationId: postAdminRealmsByRealmIdentityProviderUploadCertificate
x-operation-id-source: derived
components:
schemas:
KeyStoreConfig:
type: object
properties:
realmCertificate:
type: boolean
storePassword:
type: string
keyPassword:
type: string
keyAlias:
type: string
realmAlias:
type: string
format:
type: string
keySize:
format: int32
type: integer
validity:
format: int32
type: integer
CertificateRepresentation:
type: object
properties:
privateKey:
type: string
publicKey:
type: string
certificate:
type: string
kid:
type: string
jwks:
type: string