All Products
Search
Document Center

Key Management Service:findSingleKey

Last Updated:Mar 31, 2026

Verifies that a key exists on an HSM (Hardware Security Module).

Prerequisites

Before you begin, make sure that you have:

Syntax

findSingleKey -k <key-handle>
Note: Enter parameters in the order shown in the syntax.

Parameters

ParameterDescriptionRequiredValid values
-kThe key handle of the key to verify. To get the key handle, use findKey.YesKey handle returned by findKey

Example

The following example verifies that the key with handle 6 exists on the HSM.

Command:

findSingleKey -k 6

Output:

Cfm3FindSingleKey returned: 0x00 : HSM Return: SUCCESS

Cluster Status:
Node id 0 status: 0x00000000 : HSM Return: SUCCESS

HSM Return: SUCCESS confirms the key exists on the HSM.