nemerna / kc-exim

key cloak user migrator shell scripts
MIT License
2 stars 0 forks source link

move from directory per user, into single json file for export/import #2

Open nemerna opened 1 year ago

nemerna commented 1 year ago

currently, when exporting, the final export handles each user in a separate directory as follows

example-export
├── kcm
│   ├── USER.json
│   └── group_paths.csv
├── userx
│   ├── USER.json
│   └── group_paths.csv
└── usery
    ├── USER.json
    └── group_paths.csv

change the approach in order to support combining the exported content into a single Json file

then change the import process to expect a single Json file

nemerna commented 1 year ago

@ilan-pinto please take a look to the coresponding branch for this issue It looks like we can fully support a single Json File for import/export