[keycloak-user] Need help with keycloak realm template

Marek Posolda mposolda at redhat.com
Thu Oct 20 15:45:17 EDT 2016


We don't have any direct support for this. However what you can do is 
for example:
- Export some existing realm
- Delete the realmID in exported JSON file and probably also delete some 
IDs of other objects too.
- Change the client URLs you want
- Import realm again either through admin console or through the 
Export/Import functionality

Thing is, that with multiple realms will be also all other objects 
(users etc) duplicated in DB. Maybe there is even better solution for 
your use-case. Depends what exactly you want to achieve?

Marek

On 20/10/16 17:52, Raj Kiran K wrote:
> I want to create Multiple realms which has only change in urls of clients.
> How can i use a template (realm) for achieving this requirement. Also let
> me know any automated feature (realm template getting inputs from
> properties file) is available in keycloak.
>
>
>
> *Regards,Raj Kiran*
> _______________________________________________
> 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