Getting Key Attribute

Command to get key attribute.

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

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

Syntax

getAttribute <KeyHandle> <AttributeID> [OutputFile]
Parameter Description
KeyHandle Key handle for which to get information.
AttributeID Space delimited list attribute IDs to retrieve.
OutputFile Path to the file in which to dump the data.

Example

cloudmgmt>getAttribute 51 3
	getAttribute Value on server 0(10.144.157.163):
	OBJ_ATTR_LABEL
	e2e
	getAttribute Value on server 1(10.144.157.163):
	OBJ_ATTR_LABEL
	e2e
	getAttribute Value on server 2(10.144.157.163):
	OBJ_ATTR_LABEL
	e2e