Try to add -i flag to create command
Execute following command to get more flags
./kcadm.sh create --help
On Wed, Feb 21, 2018 at 3:09 PM Subodh Joshi <subodhcjoshi82(a)gmail.com>
wrote:
[root@server tmp]# GROUP_ID=`/opt/keycloak/bin/kcadm.sh create groups
-r
master -s name=Admin_UserGroup`
But when i am checking
echo $GROUP_ID
Nothing displaying
What is wrong with the approach?
While when i tried
USER_ID=`/opt/keycloak/bin/kcadm.sh create users -s username=admin -s
enabled=true -s realm=myrealm`
and then
echo $USER_ID
It is displaying generated userid.
--
Subodh Chandra Joshi
<subodh1_joshi82(a)yahoo.co.in>
http://www.questioninmind.com
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user