kcadm.sh Command Examples

Perform administration tasks. More information: https://www.keycloak.org/docs/latest/server_admin/#admin-cli.

kcadm.sh config credentials --server {{host}} --realm {{realm_name}} --user {{username}} --password {{password}}

kcadm.sh create users -s username={{username}} -r {{realm_name}}

kcadm.sh get realms

kcadm.sh update realms/{{realm_name}} -f {{path/to/file.json}}