Using the Keycloak Api

Using the Keycloak Api #

For the migrations to work I had to implement a keycloak administration api.

This api provides a KeycloakClient which connects to the keycloak instance. This client has methods to manage user, group, role, client, realms and userfederation resources.

To use it you can simply the maven dependency or download the keycloakapi-jar from the releases page.

Gradle Groovy DSL #

compile group: 'de.klg71.keycloakmigration', name: 'keycloakmapi', version: 'x.x.x'

Gradle Kotlin DSL #


Maven #

<!-- -->

The keycloakapi uses OpenFeign to connect to the keycloak instance.

Full documentation is available here: Documentation