Home >

Lunacm Command Reference Guide > LunaCM Commands > hsm > hsm clone

hsm clone

Clone HSM SO objects. Use this command to clone SO objects from the HSM into another HSM installed in the same computer.

Note:  The lunacm hsm commands appear only when the current slot selected in lunacm is for a locally-installed HSM, such as a SafeNet PCI-E HSM. When lunacm is directed at a slot corresponding to a remote SafeNet Network HSM, the hsm-level commands do not appear, since lunacm has a client-only connection to a remote HSM and therefore cannot log in as SO to a remote HSM. To access HSM commands on the SafeNet Network HSM appliance, you must use the LunaSH.

Syntax

hsm clone -objects <handles> [-force] -password <password> -slot <slot number>

Parameter Shortcut Description
-objects -o The object handles to extract
-slot -s The target slot.
-password -p The target slot password.
-force -f Force the action without prompting.

Example

lunacm:> hsm clone -objects 0 -slot 2
 
Command Result : No Error