Skip to content
This repository was archived by the owner on Oct 7, 2026. It is now read-only.
UKHomeOfficePublic archive

About

No description, website, or topics provided.

Resources

Stars

46 stars

Watchers

5 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Keycloak Utils

import-users.sh - Administer Keycloak accounts from the command-line

See users.csv for example format.

Prerequisites in the Keycloak realm:

  1. Create client (eg. keycloak_acct_admin) for this script. Access Type: public.
  2. Add the realm admin user (eg. realm_admin) to the realm
  3. In the realm admin user's settings > Client Role > "realm-management", assign it all available roles
  4. In realm, enable Direct Grant API at Settings > Login

Import users found in csv

$ ./import-users.sh --import users.csv

Delete users found in csv

$ ./import-users.sh --import users.csv

About

No description, website, or topics provided.

Resources

Stars

46 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages