Importing a Private Key

Configure command for Importing a Private Key.

The importPrivKey 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 importPrivKey command to inject a masked object.

Syntax
Syntax: importPrivKey -h -f <filename> [-o <object handle>] [-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).
-o Request object/user handle (Optional)
-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 2.
-timeout Indicates the wwait time (in seconds) for the key to sync across servers.