本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
使用 Cloud 列出法定代币 HSM CLI
使用 Cloud 中的quorum token-sign list命令列HSMCLI出集群中存在的所有令牌签名法定令牌。 AWS CloudHSM
用户类型
以下用户均可运行此命令。
-
Admin
-
加密用户 (CU)
语法
aws-cloudhsm >
help quorum token-sign list
List the token-sign tokens in your cluster Usage: quorum token-sign list Options: --cluster-id
<CLUSTER_ID>
Unique Id to choose which of the clusters in the config file to run the operation against. If not provided, will fall back to the value provided when interactive mode was started, or error -h, --help Print help
示例
此命令将列出集群中存在的所有令牌签名令牌。 AWS CloudHSM
aws-cloudhsm >
quorum token-sign list
{ "error_code": 0, "data": { "tokens": [ { "username": "admin", "service": "quorum", "approvals-required": 2 "number-of-approvals": 0 "token-timeout-seconds": 397 "cluster-coverage": "full" }, { "username": "admin", "service": "user", "approvals-required": 2 "number-of-approvals": 2 "token-timeout-seconds": 588 "cluster-coverage": "full" } ] } }