Injecting Masked Object
Configure command for injecting masked object.
The insertMaskedObject command inserts a masked object from a file into a HSM partition. Similar to the restore functionality in a "Backup and restore" operation.
In the Key Management utility, open a command prompt and run insertMaskedObject
command to inject a masked object.
Syntax: insertMaskedObject -h -f <filename> [-min_srv <minimum number of servers>] [-timeout <number of seconds>]
Where,
Parameter | Description |
---|---|
-h | Displays this information |
-f | Name of the file that contains the masked object. By default, the object is a key or data (include -user argument if it is user information). |
-min_srv | Specifies the minimum number of servers on which the inserted masked object is synchronized before the timeout parameter expires. The default value is 1. |
-timeout | Indicates the wait time (in seconds) for the key to sync across servers. |
Example
Command: insertMaskedObject -f masked_object.file
Cfm2InsertMaskedObject returned: 0x00 : HSM Return: SUCCESS
New Key Handle: 266205
ret 0
Cluster Status
Node id 1 and err state 0x00000000 : HSM Return: SUCCESS