kcadm.sh:tldr:6c7a8
This is a command used in the Keycloak Command Line Interface (CLI) tool, specifically the "kcadm.sh" script. It creates a new user in a Keycloak realm.
Here's a breakdown of the command:
-
kcadm.sh
: Refers to the Keycloak CLI script that allows administrators to manage and configure Keycloak realms and users via the command line. -
create users
: Specifies the operation to create a new user. -
-s username=${username}
: Sets the username of the new user. The value is typically passed as an environment variable${username}
where you assign the desired username. -
-r ${realm_name}
: Specifies the target realm where the user will be created. The value is typically passed as an environment variable${realm_name}
where you define the desired realm name.
Overall, this command would be used to create a user in a Keycloak realm specified by ${realm_name}
with the username set to ${username}
.