本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
使用 CloudHSM CLI 中的 quorum token-sign list命令,列出 AWS CloudHSM 叢集中存在的所有字符簽署規定人數字符。這包括其他使用者產生的字符。權杖綁定到使用者,因此雖然您可能會看到其他使用者的權杖,但您只能使用與目前登入使用者相關聯的權杖。
如需有關服務類型和名稱的詳細資訊,請參閱支援規定人數身分驗證的服務名稱和類型。如需從列出的字符顯示的內容詳細資訊,請參閱 啟用規定人數身分驗證以 AWS CloudHSM 使用 CloudHSM CLI 的金鑰管理和用量 以取得與 key-management
key-usage
服務相關聯的字符,請參閱 啟用規定人數身分驗證以 AWS CloudHSM 使用 CloudHSM CLI 的使用者管理 以取得與 user
、 quorum
或 cluster
服務相關聯的字符。
使用者類型
下列使用者可以執行此命令。
-
管理員
-
加密使用者 (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": 0, "token-timeout-seconds": 588, "cluster-coverage": "full" }, { "username": "crypto_user1", "service": "key-management", "key-reference": "0x00000000002c33f7", "minimum-token-count": 1 }, { "username": "crypto_user1", "service": "key-usage", "key-reference": "0x00000000002c33f7", "minimum-token-count": 1 } ] } }