目录

Composer 身份绑定

优质
小牛编辑
120浏览
2023-12-01

composer identity bind命令将现有身份绑定到参与者库中的参与者。查看任务将现有身份绑定到参与者 以便体会此命令或API。

句法

composer identity bind
composer identity bind [options]

Options:
  --help                 Show help  [boolean]
  -v, --version          Show version number  [boolean]
  --card, -c             Name of the network card to use  [string] [required]
  --participantId, -a    The particpant to issue the new identity to  [string] [required]
  --certificateFile, -c  File containing the certificate  [string] [required]

选项

--card, -c

要使用的业务网络卡片的名称。例:admin@sample-network

--certificateFile, -c

以PEM格式包含现有身份证书的文件的路径。 例:/tmp/cert.pem

--participantId, -a

身份应该颁发给的参与者的完全限定标识符。 例:resource:net.biz.digitalPropertyNetwork.Person#lenny@biznet.org