Running the normalization via:
java -jar target/keycloak-config-cli.jar \
--run.operation=NORMALIZE \
--normalization.files.inputLocations=/Users/tom/Downloads/minimal-realm-export.json \
--normalization.files.outputDirectory=./target
given a minimal realm definition (with KC 25.0.5, just changed the realm name after creating it), see: minimal-realm-export.json
yields the following minimal.yaml
in the target folder.
minimal.yaml:
---
id: "dd63c101-0933-44ff-bd0d-6291b7b195ae"
realm: "minimal"
enabled: true