This file contains 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
# If something goes wrong, this script does not run forever but times out | |
TIMEOUT_SECONDS=300 | |
# Logfile for the keycloak export instance | |
LOGFILE=/tmp/standalone.sh.log | |
# destionation export file | |
JSON_EXPORT_FILE=/tmp/realms-export-single-file.json | |
rm -f ${LOGFILE} ${JSON_EXPORT_FILE} | |
# Start a new keycloak instance with exporting options enabled. |