Open tobilarscheid opened 2 years ago
Deleting users is currently not implemented in keycloak-config-cli, only create and update.
Thats why keycloak-config-cli will not delete the old user and the new user has a conflict with the existing user.
I understand, thanks for the quick reply! Happy to provide a PR if you point me in the right direction.
For deleting users, a remote state needs to be implement. Otherwise, Keycloak-config-cli is going to delete all users which is a major incident.
More informations here: https://github.com/adorsys/keycloak-config-cli/blob/main/docs/MANAGED.md
Take a look, how Realm Roles are handled on deletion.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Is there any plan to add the remote state feature?
Hi @testuser7 (what a name ;-) ), I haven't looked into it so far!
Current Behavior
keycloak-config-cli
to apply the realm.yamlkeycloak-config-cli
--> error, 409 ConflictExpected Behavior
A new user with the new name should be created, the old user should disappear
Steps To Reproduce
No response
Environment
Anything else?
No response