產生规定人數字符簽署 - AWS CloudHSM

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

產生规定人數字符簽署

使用 CloudHSM CLI 中的 quorum token-sign generate 命令為規定人數授權服務產生一個權杖。

對於服務使用者和規定人數而言,HSM 叢集上,每位使用者每種服務取得作用中權杖有一定限制。

注意

只有管理員可以產生一個服務權杖。

管理員服務:規定人數身分驗證用於管理員特殊權限服務,例如建立使用者、刪除使用者、變更使用者密碼、設定規定人數值,以及停用規定人數和 MFA 功能。

每種服務類型都會進一步細分為合格的服務名稱,這包含一組特定的可執行法定人數支援的服務操作。

服務名稱 服務類型 服務操作
使用者 管理員
  • 建立使用者

  • 刪除使用者

  • 變更使用者密碼

  • 變更使用者 MFA

規定人數 管理員
  • 法定令牌符號 set-quorum-value

使用者類型

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

  • 管理員

  • 加密使用者 (CU)

語法

aws-cloudhsm > help quorum token-sign generate Generate a token Usage: quorum token-sign generate --service <SERVICE> --token <TOKEN> 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 --service <SERVICE> Service the token will be used for Possible values: - user: User management service is used for executing quorum authenticated user management operations - quorum: Quorum management service is used for setting quorum values for any quorum service - registration: Registration service is used for registering a public key for quorum authentication --token <TOKEN> Filepath where the unsigned token file will be written -h, --help Print help

範例

此命令會將叢集中每個 HSM 的未簽署權杖寫入 token 指定的檔案。

範例 :寫入叢集中每個 HSM 的未簽署權杖
aws-cloudhsm > quorum token-sign generate --service user --token /home/tfile { "error_code": 0, "data": { "filepath": "/home/tfile" } }

引數

<CLUSTER_ID>

執行此作業的叢集識別碼。

必要:如果已設定多個叢集。

<SERVICE>

指定要產生字符的規定人數授權服務。此為必要參數。

有效值

  • 使用者:指使用者管理服務,用於執行規定人數授權的使用者管理操作。

  • 規定人數:指規定人數管理服務,用於為任何規定人數授權服務設定規定人數授權的規定人數值。

  • 登記:產生一個未簽署權杖,用於登記規定人數授權的公有金錀。

必要:是

<TOKEN>

將寫入未簽署權杖檔案的檔案路徑。

必要:是

相關主題