Composer卡片创建

从各个组件创建一个业务网络卡片。创建业务网络卡片时,你将需要一个enrollSecret或一对 certificateprivateKey

  1. composer card create --file conga.card --businessNetworkName penguin-network --connectionProfileFile connection.json --user conga --enrollSecret supersecret

句 法

  1. Card options
  2. --file, -f File name of the card archive to be created [string]
  3. --businessNetworkName, -n The business network name [string]
  4. --connectionProfileFile, -p Filename of the connection profile json file [string] [required]
  5. --user, -u The name of the identity for the card [string] [required]
  6. --enrollSecret, -s The enrollment secret of the user [string]
  7. --certificate, -c File containing the user's certificate. [string]
  8. --privateKey, -k File containing the user's private key [string]
  9. --role, -r The role for this card can, specify as many as needed [choices: "PeerAdmin", "ChannelAdmin"]
  10. Options:
  11. --help Show help [boolean]
  12. -v, --version Show version number [boolean]