System Grab Bag

View all TLDR pages from common (or from all pages)

kcadm.sh

Perform administration tasks. More information: https://www.keycloak.org/docs/latest/server_admin/#admin-cli.
  • Start an authenticated session:
    kcadm.sh config credentials --server {{host}} --realm {{realm_name}} --user {{username}} --password {{password}}
  • Create a user:
    kcadm.sh create users -s username={{username}} -r {{realm_name}}
  • List all realms:
    kcadm.sh get realms
  • Update a realm with JSON config:
    kcadm.sh update realms/{{realm_name}} -f {{path/to/file.json}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.