Retrieves the owner ID and sharer user ID of a key stored in the Hardware Security Module (HSM).
Prerequisites
Before you begin, ensure that you have:
Initiated
key_mgmt_toolLogged on to HSM as a Crypto User (CU)
Syntax
getKeyInfo -k <key-handle>Important
Enter parameters in the order shown in the syntax.
Parameters
| Parameter | Description | Required | Valid values |
|---|---|---|---|
-k | The key handle. | Yes | No special requirements |
Example
The following example retrieves user information for the key with handle 6. The output shows that user 3 owns the key and there are no sharers.
Command: getKeyInfo -k 6
Cfm3GetKey returned: 0x00 : HSM Return: SUCCESS
Owned by user: 3