Setting Key Attributes

Configure command for setting key attribute.

The setAttribute command sets attribute for an object. It only allows you to convert session key to persistent key.

Open a command prompt and run setAttribute command to set attribute for an object. It allows you to convert session key to persistent key.

Syntax
Syntax: setAttribute -h -o <object handle> -a <attribute>
Where,
Parameter Description
-h Displays this information.
-o Specifies the Object Handle.
-a Specifies the Attribute to set (only the following attribute's value can be modified) OBJ_ATTR_TOKEN = 1

Example

Command: setAttribute -o 262558 -a 1
This attribute is defined as a boolean value.
Enter the boolean attribute value (0 or 1):1
 KeyMgmtUtilsSetAttribute returned: 0x00 : HSM Return: SUCCESS
Cluster Status:
Node id 0 status: 0x00000000 : HSM Return: SUCCESS
Node id 1 status: 0x00000000 : HSM Return: SUCCESS
Node id 2 status: 0x00000000 : HSM Return: SUCCESS