Reputation: 6472
I am trying to understand why hyperledger cryptogen tool creates admin user by default for organiztion, because, when I am using sdk, I have to create p/k for user and make enroll request to organization's ca, and it gives me signed cert for user or admin and with this user I can invoke some transactions or make peer to join channel (if this user is admin) or etc. So for what reason should I use default admin user, what is a purpose of default admin?
Upvotes: 0
Views: 69
Reputation: 20382
If there is no admin, then who will register and enroll users? If you are able to enroll users without default admin generated by cryptogen, then go for it! You don't need default admin in that case.
Also note that cryptogen should not be used in production. From official docs:
It would normally not be used in the operation of a production network.
Adding some more details as to why cryptogen would not be used in production. As I understand, Its not that the tool lacks some functionality. But it wouldn't be used in production because:
Upvotes: 2