Staging instance, all changes can be removed at any time

Skip to content

keycloak: Install users to keycloak instance

Related to swh-deposit#2858 (closed)

Test Plan

Run through docker

python -m migrate_users_to_keycloak --admin-user admin --admin-pass admin --credentials-path ./staging-users.yaml
INFO:__main__:keycloak server: http://localhost:5080/keycloak/auth/ ; realm: SoftwareHeritage
INFO:__main__:Client: swh-deposit ; client role: swh.deposit.api
INFO:__main__:User 'hal' installed.
INFO:__main__:User 'hal-preprod' installed.
INFO:__main__:User 'hal-test' installed.
INFO:__main__:User 'intel' installed.
INFO:__main__:User 'ipol' installed.
INFO:__main__:User 'swh' installed.
INFO:__main__:User 'swh-worker' installed.
INFO:__main__:User 'swh-olasd' installed.
INFO:__main__:User 'cottagelabs-alexsdutton' installed.

Migrated from D5279 (view on Phabricator)

Merge request reports

Loading