Run kcadm.sh commands via abra app commands #27

Open
opened 2026-03-17 00:12:50 +00:00 by oxaliq · 0 comments

I'd like to be able to script keycloak administration via keycloak's kcadm.sh admin CLI.

Exposing these commands in abra.sh would allow for the pattern abra app cmd <app-name> app run_kcadm ...

We would first need to authorize a session with abra app cmd <app-name> app login_kcadm which would prompt for realm, user and password. Once a session is authorized we could use run_kcadm to run any commands.

This would also allow for future additional abra app cmd commands for common CRUD tasks.

See here for info about kcadm.sh https://www.keycloak.org/docs/latest/server_admin/index.html#admin-cli

I'd like to be able to script keycloak administration via keycloak's kcadm.sh admin CLI. Exposing these commands in abra.sh would allow for the pattern `abra app cmd <app-name> app run_kcadm ...` We would first need to authorize a session with `abra app cmd <app-name> app login_kcadm` which would prompt for realm, user and password. Once a session is authorized we could use `run_kcadm` to run any commands. This would also allow for future additional `abra app cmd` commands for common CRUD tasks. See here for info about kcadm.sh https://www.keycloak.org/docs/latest/server_admin/index.html#admin-cli
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/keycloak#27
No description provided.