List quorum tokens using CloudHSM CLI
Use the quorum token-sign list command in CloudHSM CLI to list all token-sign quorum tokens present in your AWS CloudHSM cluster.
User type
The following users can run this command.
-
Admin
-
Crypto user (CU)
Syntax
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
Example
This command will list all token-sign tokens present in your AWS CloudHSM cluster.
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" } ] } }