From 62ba2c869bc5780ec92b26728ea3634b7616fa5c Mon Sep 17 00:00:00 2001 From: "Thamaraiselvam (aka) Tham" Date: Wed, 26 Oct 2022 18:20:33 +0800 Subject: [PATCH] kcadm.sh: add page (#9272) --- pages/common/kcadm.sh.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/kcadm.sh.md diff --git a/pages/common/kcadm.sh.md b/pages/common/kcadm.sh.md new file mode 100644 index 0000000000..4ac25e2338 --- /dev/null +++ b/pages/common/kcadm.sh.md @@ -0,0 +1,20 @@ +# kcadm.sh + +> Perform administration tasks from the command-line interface (CLI). +> More information: . + +- 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}}`