Home >

Lunacm Command Reference Guide > LunaCM Commands > hsm

hsm

Access the hsm-level commands.

Note:  The lunacm hsm commands appear only when the current slot selected in lunacm is for a locally-installed HSM, such as a Luna PCI-E. When lunacm is directed at a slot corresponding to a remote Luna SA, 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 Luna SA appliance, you must use the Luna Shell (lunash).

Syntax

hsm

changehsmpolicy
changepw
changesopolicy
clear
clone
contents
factoryreset
init
login
logout
migratepedkey
recoveryinit
recoverylogin
reset
restoresim2
restoreuser
rollbackfw
setlegacydomain
showinfo
showmechanism
showpolicies
smkclone
updatefw

Parameter Shortcut Description
changehsmpolicy changehp Change the HSM Policy value. See "hsm changehsmpolicy".
changepw changepw Change the HSM SO password. See "hsm changepw".
changesopolicy changesp Change the SO Policy value. See "hsm changesopolicy".
clear clr Delete all of the SO's token objects. See "hsm clear".
clone clo Clone SO objects. See "hsm clone".
contents con Show the contents of the SO partition. See "hsm contents".
factoryreset f Factory reset the HSM. See "hsm factoryreset".
init i Initialize the HSM. See "hsm init".
login logi Login to the HSM as SO. See "hsm login".
logout logo Logout from the HSM as SO. See "hsm logout".
migratepedkey mig Migrate a PED Key from a legacy HSM. See "hsm migratepedkey".
recoveryinit ri High Availability Initialize HSM (not related to load balancing). See "hsm recoveryinit".
recoverylogin rl High Availability Login (not related to load balancing) . See "hsm recoverylogin".
reset rese Reset the HSM. See "hsm reset".
restoresim2 rsim2 Restore SO objects (using SIM2). See "hsm restoresim2".
restoreuser ru Restore a user. See "hsm restoreuser".
rollbackfw rb Rollback the HSM firmware. See "hsm rollbackfw".
setlegacydomain sld Set the legacy domain. See "hsm setlagacydomain".
showinfo si Get HSM information. See "hsm showinfo".
showmechanism showm Show all mechanisms. See "hsm showmechanism".
showpolicies sp Get HSM policy information. See "hsm showpolicies".
smkclone smk

Clone the SMK object. See "hsm smkclone".

updatecap uc Update the HSM capabilities. See "hsm updatecap".
updatefw uf Update the HSM firmware. See "hsm updatefw".