Verifies that a key exists on an HSM (Hardware Security Module).
Prerequisites
Before you begin, make sure that you have:
Started
key_mgmt_toolLogged on to the HSM as a CU (Crypto User)
Syntax
findSingleKey -k <key-handle>Note: Enter parameters in the order shown in the syntax.
Parameters
| Parameter | Description | Required | Valid values |
|---|---|---|---|
-k | The key handle of the key to verify. To get the key handle, use findKey. | Yes | Key handle returned by findKey |
Example
The following example verifies that the key with handle 6 exists on the HSM.
Command:
findSingleKey -k 6Output:
Cfm3FindSingleKey returned: 0x00 : HSM Return: SUCCESS
Cluster Status:
Node id 0 status: 0x00000000 : HSM Return: SUCCESSHSM Return: SUCCESS confirms the key exists on the HSM.