Managing multiple realms in keycloak-admin-client

Hi all,

I am using Keycloak as the SSO and Identity Management application for a multinenant SaaS application.

I am trying to create springboot application with keycloak-admin-client so that users can do things in keycloak server by making some API calls and not going to the admin console.

In all the examples I have seen, keycloak-admin-client is used for one tenant/realms. How can make use of it when I have multiple realms and users who belong to different client applications in different realms