[keycloak-user] Import realm settings without removing users

Pavel Drankov titantins at gmail.com
Mon Apr 15 18:48:10 EDT 2019


Ok, thanks.
Best wishes,
Pavel


On Mon, 15 Apr 2019 at 13:52, Vlasta Ramik <vramik at redhat.com> wrote:

> On 4/12/19 1:50 PM, Pavel Drankov wrote:
>
> afaik it's not possible at the moment.
>
> Is there any plan to support in the future?
>
> There is no such plan afaik, you can create a feature request ticket:
> https://issues.jboss.org/browse/KEYCLOAK
>
> V.
>
>
> On Fri, 12 Apr 2019 at 11:55, Vlasta Ramik <vramik at redhat.com> wrote:
>
>> On 4/12/19 10:52 AM, Pavel Drankov wrote:
>>
>> if you've exported users as well those should be imported during import
>>> as well.
>>
>> I don't want to export/import users, just realm settings. Is it possible
>> to import realm settings without erasing *users?*
>>
>> afaik it's not possible at the moment.
>>
>> V.
>>
>>
>>
>> Best wishes,
>> Pavel
>>
>>
>> On Fri, 12 Apr 2019 at 09:48, Vlasta Ramik <vramik at redhat.com> wrote:
>>
>>> Hey Pavel,
>>>
>>> if you've exported users as well those should be imported during import
>>> as well.
>>>
>>> When you use -Dkeycloak.migration.strategy=OVERWRITE_EXISTING the
>>> existing realm is erased and then imported from file/dir [1]
>>>
>>> V.
>>>
>>> [1]
>>>
>>> https://www.keycloak.org/docs/latest/server_admin/index.html#_export_import
>>>
>>> On 4/11/19 3:49 PM, Pavel Drankov wrote:
>>> > Hi,
>>> >
>>> > Is there any command-line way to import realms settings without
>>> erasing all
>>> > the users?  If import realm settings with OVERWRITE_EXISTING, keycloak
>>> also
>>> > removes all the users.
>>> >
>>> > Best wishes,
>>> > Pavel
>>> > _______________________________________________
>>> > keycloak-user mailing list
>>> > keycloak-user at lists.jboss.org
>>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>


More information about the keycloak-user mailing list