Created
January 25, 2022 06:53
-
-
Save osorionicolas/50574aaaec9ee0bcd96d97a258bbd541 to your computer and use it in GitHub Desktop.
Bash script used to generate an export from Keycloak including users in the json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker exec -it b691cd6a3902 /opt/jboss/keycloak/bin/standalone.sh \ | |
| -Djboss.socket.binding.port-offset=100 \ | |
| -Dkeycloak.migration.action=export \ | |
| -Dkeycloak.migration.provider=singleFile \ | |
| -Dkeycloak.migration.file=/tmp/keycloak-export.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment