You are here: Reference Manual > Client-side Commands (lunacm) > lunacm hsm Commands > lunacm hsm clear Command

lunacm hsm Commands

lunacm hsm clear Command

This command, and all the lunacm hsm commands, appear only when the current slot selected in lunacm is for a local HSM, like an installed Luna PCI-E.

HSM commands do not appear in the lunacm command menu when lunacm is directed at a slot corresponding to a remote Luna SA - lunacm has a client-only connection to a remote HSM and therefore cannot log in as SO to a remote HSM.

For Luna SA, the HSM commands are available via the Luna appliance's Luna Shell (lunash:>), which can be accessed via ssh if you have the required authentication.

NAME

hsm clear  - delete contents of SO space

SYNOPSIS

lunacm:> hsm clear [-force]

DESCRIPTION

If the SO is logged in, this command deletes all token objects in the SO's partition.

OPTIONS

 - force To force the action without prompting - useful for scripting.
 

SAMPLE OUTPUT

lunacm:> hsm clear

You are about to clear the HSM SO partition.
All objects will be destroyed.

Are you sure you wish to continue?
   Type 'proceed' to continue, or 'quit' to quit now -> proceed

Command Result : No Error

lunacm:>