1.0.3 • Published 5 months ago

update-keycloak v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

Update Keycloak

A CLI tool to keep your keycloak client's roles up-to-date.

Warning: highly opinionated.

This README will be enhanced later.

Necessary environment variables:

LOG_LEVEL=<string, "DEBUG"|"INFO"|"WARN"|"ERROR">
PERMISSIONS_AND_ROLES_TS_LOCATION=<string, path to the file describing the roles>
LOGIN_BASE_URL=<string, "https://your.keycloak.instance/realms/YOURREALM">
ADMIN_BASE_URL=<string, "https://your.keycloak.instance/admin/realms/YOURREALM">
SERVICE_ACCOUNT_CLIENT_ID=<string, id of your service client>
SERVICE_ACCOUNT_CLIENT_SECRET=<string, secret of your service client>
APPLICATION_CLIENT_ID=<string, name of the client whose roles should be managed>

Accepted command line parameters:

paramdescription
--commituse this parameter, so that actual write access to keycloak will be performed, else update-keycloak will do a dry-run
--ignore-warningsuse this parameter to have update-keycloak continue its operation even if plausibility checks in your permissions and roles configuration fail
1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

6 months ago