規定人數字符簽署 設定逾時 - AWS CloudHSM

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

規定人數字符簽署 設定逾時

使用 CloudHSM CLI 中的 quorum token-sign set-timeout 命令來設定每種權杖類型的權杖逾時期間 (以秒為單位)。

使用者類型

下列使用者可以執行此命令。

  • 管理員

語法

aws-cloudhsm > help quorum token-sign set-timeout Set timeout duration in seconds for token validity Usage: quorum token-sign set-timeout <--generated <GENERATED> |--approved <APPROVED>> 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 --generated <GENERATED> Timeout period in seconds for a generated (non-approved) token to be approved --approved <APPROVED> Timeout period in seconds for an approved token to be used to execute a quorum operation -h, --help Print help (see a summary with '-h')

範例

下列範例示範如何使用 quorum token-sign set-timeout 命令來設定權杖逾時期間。

aws-cloudhsm > quorum token-sign set-timeout --generated 900 { "error_code": 0, "data": "Set token timeout successful" }

相關主題