问题描述
我正在使用Hyperledger Fabric(1.4)开发一个区块链网络,我想知道Fabric是否有任何用户身份验证机制.对于作曲家休息服务器,有护照,但对于布料,我似乎找不到护照.
I am developing a blockchain network using Hyperledger Fabric (1.4) and I wanted to know if there's any User authentication mechanism for Fabric. For composer-rest-server there's passport but for fabric, I can't seem to find one.
推荐答案
Hyperledger Fabric中的主要身份验证机制是成员资格服务提供程序(MSP).例如,您将这些设置与区块链并行设置,并且可以将它们连接到LDAP.
The main authentication mechanism in Hyperledger Fabric are Membership Service Providers (MSP). You set these up in parallel to the blockchain and can connect them to LDAP, for example.
对于身份验证,MSP会为用户的公共密钥颁发证书,然后可以将其用于身份验证.
For authentication a MSP issues a certificate for a user's public key, which can then be used to authenticate.
有关Hyperledger文档中MSP的更多信息: https://hyperledger-fabric.readthedocs.io/en/release-1.4/msp.html
More info on MSPs in the Hyperledger Docs: https://hyperledger-fabric.readthedocs.io/en/release-1.4/msp.html
这篇关于Hyperledger Fabric身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!