poetry install
# Activate virtual environment
poetry shell
# For py scripts
export ACCESS_TOKEN=<keycloak_access_token>
# .example.env
# KC_HOST=https://<keycloak-host>
# KC_REALM=<realm>
# KC_CLIENT_ID=<clientID>
# KC_CLIENT_SECRET=<clientSecret>
# KC_GRANT_TYPE=client_credentials
python ./scripts/add_users_to_keycloak.py --users example.users.json
file
python ./scripts/parse_entra_users.py -i entra_users_export.csv --groups ./groups