本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
使用 CloudHSM CLI 啟用叢集
在 CloudHSM CLI 中使用 cluster activate命令來啟用新的叢集 AWS CloudHSM。必須先執行此命令,叢集才可以用於執行密碼編譯操作。
使用者類型
下列類型的使用者可以執行此命令。
-
未激活的管理員
語法
此命令沒有任何參數。
aws-cloudhsm >
help cluster activate
Activate a cluster This command will set the initial Admin password. This process will cause your CloudHSM cluster to move into the ACTIVE state. USAGE: cloudhsm-cli cluster activate [OPTIONS] [--password <PASSWORD>] 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 --password<PASSWORD>
Optional: Plaintext activation password If you do not include this argument you will be prompted for it -h, --help Print help (see a summary with '-h')
範例
此命令會為您的管理員使用者設定初始密碼來啟動叢集。
aws-cloudhsm >
cluster activate
Enter password: Confirm password: { "error_code": 0, "data": "Cluster activation successful" }