Interact with multiple clusters in AWS CloudHSM - AWS CloudHSM

Interact with multiple clusters in AWS CloudHSM

After configuring multiple clusters with CloudHSM CLI, use the cloudhsm-cli command to interact with them.

Examples

Use the Interactive mode along with the cluster-id parameter to set a default cluster (with the ID of cluster-1234567) from your configuration.

Linux
$ cloudhsm-cli interactive --cluster-id <cluster-1234567>
Windows
PS C:\> & "C:\Program Files\Amazon\CloudHSM\bin\cloudhsm-cli.exe" interactive --cluster-id <cluster-1234567>

Use the cluster-id parameter to set the cluster (with the ID of cluster-1234567) to get List HSMs with CloudHSM CLI from.

Linux
$ cloudhsm-cli cluster hsm-info --cluster-id <cluster-1234567>
Windows
PS C:\> & "C:\Program Files\Amazon\CloudHSM\bin\cloudhsm-cli.exe" cluster hsm-info --cluster-id <cluster-1234567>