Getting Key Attribute

Configure command for getting key attribute.

The getAttribute command retrieves the value for a key. For more information, see List Key Attribute.

In the OCI HSM key Management utility, open a command prompt and run getAttribute command to retrieve the value for a key.

Syntax

getAttribute -h -o -a -out
Parameter Description
-h Displays help for the command
-o Specifies the key handle of the key.
-a Identifies the attribute.
-out Writes the output to the specified file

Example

getAttribute -o 6 -a 512 -out attr_6
got all attributes of size 444 attr cnt 17
Attributes dumped into attribute.txt file
Cfm3GetAttribute returned: 0x00 : HSM Return: SUCCESS>