Hyperledger new user register -
hyperledger has membership service, keeps initial members in membersrvs.yaml file, e.g lukas, jim etc.
then user has log network, posting restapi /registrar enrollmentid , secret.
my question how create new user network users not defined in ca? seems admin user can that, how invoke /registrar api admin security context?
thanks
rest api /registrar can used log in network. if add new user membership service have 2 options:
- add new record membersrvc.yaml, reset cluster state removing /var/hyperledger/production, , restarting membership service. in case information new users imported @ first start.
- you can use node.js skd , add new user shown in example fabric v0.6: https://github.com/hyperledger/fabric/blob/ceefb12425b7ccb09fc0f88dc78d395a459dca55/sdk/node/test/unit/registrar.js
Comments
Post a Comment