[keycloak-user] How to add user attribute through admin-cli
Subodh Joshi
subodhcjoshi82 at gmail.com
Fri Mar 23 03:42:50 EDT 2018
I am trying to add three attributes of user and used below admin-cli
command
/opt/keycloak/bin/kcadm.sh create components -r master -s
name=user-attribute -s providerId=user-attribute -s
parentId=1295a70f-25f7-4e45-bcb8-285d750 1c6d9 -s
'config."appid"=["SURE_APP"]' -s 'config."tenantId"=["T0"]' -s
'config."ugId"=["Admin_UserGroup"]'
but its throwing
No server or realm specified. Use --server, --realm, or 'kcadm.sh config
credentials'.
Can someone please let me know what wrong with above command?
--
Subodh Chandra Joshi
subodh1_joshi82 at yahoo.co.in
http://www.questioninmind.com
More information about the keycloak-user
mailing list