[keycloak-user] Query regarding import multiple realms through single json file

Nangunoori, Srinivas srinivas.nangunoori at hpe.com
Mon Aug 31 09:16:21 EDT 2015


Hi Experts,

I am trying to import multiple relams info through single json file using following command, here pass.json has multiple realm info. But, only last realm is getting imported in keycloak

bin/standalone.sh -c standalone-ha.xml -b=<server name> -bmanagement=<server name> -Djboss.node.name=<server name> -Dkeycloak.migration.action=import -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=paas.json

Here pass.json has multiple realm info. But, only last realm is getting imported in keycloak.

JSON has info.,
[
{
  "realm" : "Test1",
   -----
},

{
  "realm" : "Test2",
   -----
}
]

In this case, always "Test2" is getting imported not the "Test1".

Regards,
Srini



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150831/946b0aca/attachment-0001.html 


More information about the keycloak-user mailing list