findSingleKey - AWS CloudHSM

findSingleKey

The findSingleKey command in the key_mgmt_util tool verifies that a key exists on all HSMs in the cluster.

Before you run any key_mgmt_util command, you must start key_mgmt_util and log in to the HSM as a crypto user (CU).

Syntax

findSingleKey -h findSingleKey -k <key-handle>

Example

This command verifies that key 252136 exists on all three HSMs in the cluster.

Command: findSingleKey -k 252136 Cfm3FindKey returned: 0x00 : HSM Return: SUCCESS Cluster Error Status Node id 2 and err state 0x00000000 : HSM Return: SUCCESS Node id 1 and err state 0x00000000 : HSM Return: SUCCESS Node id 0 and err state 0x00000000 : HSM Return: SUCCESS

Parameters

-h

Displays help for the command.

Required: Yes

-k

Specifies the key handle of one key in the HSM. This parameter is required.

To find key handles, use the findKey command.

Required: Yes

Related topics