Tools, FAQ, Tutorials:
"fabric-ca-client identity list" - List Identities
How to List Identities with the "fabric-ca-client identity list" command?
✍: FYIcenter.com
If you want get a list of identities from the Fabric CA Server,
you can run the "fabric-ca-client identity list" command:
$ export FABRIC_CA_CLIENT_HOME=~/fabric-ca/native-client/admin $ ~/go/bin/fabric-ca-client identity list Name: admin, Type: client, Affiliation: , Max Enrollments: -1, Attributes: [{Name:hf.Registrar.Attributes Value:* ECert:false} {Name:hf.AffiliationMgr Value:1 ECert:false} {Name:hf.Registrar.Roles Value:* ECert:false} {Name:hf.Registrar.DelegateRoles Value:* ECert:false} {Name:hf.Revoker Value:1 ECert:false} {Name:hf.IntermediateCA Value:1 ECert:false} {Name:hf.GenCRL Value:1 ECert:false}]
As you can see, the admin identity is mapped to admin certificate with the same name. In this case, the identify and its certificate are named as "admin".
On the Fabric CA Server side, you see this log message:
[INFO] 127.0.0.1:50490 GET /identities 200 0 "OK"
Â
⇒ Requirements for Registering New Identities
⇠"fabric-ca-client certificate list" - List Certificates
⇑ Fabric CA (Certificate Authority)
⇑⇑ Hyperledger Tutorials
2019-09-27, 1585👍, 0💬
Popular Posts:
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to login to the Developer Portal internally by you as the publisher? Normally, the Developer Por...
How to use the XML to JSON Conversion Tool at freeformatter.com? If you want to try the XML to JSON ...
How to add request body examples to my Azure API operation to make it more user friendly? If you hav...