partition clear
Delete all objects on a partition. Because this is a destructive command, the user is prompted to proceed/quit before the erasure occurs.
NOTE This command requires Luna Appliance Software 7.8.1 or newer. It cannot be used on STC partitions; the Partition SO must use LunaCM at the client for partition management.
For password-authenticated HSMs, if the password isn't entered on the command line, the user will be prompted for it interactively. User input will be echoed as asterisks.
For multifactor quorum-authenticated HSMs, Luna PED action is required, and the Crypto Officer (black) PED key is requested. Any password provided at the command line is ignored. However, if a PIN was specified when the HSM partition was created, that PIN must be entered at the Luna PED keypad.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
partition clear -partition <partition_name> [-password <password>] [-force]
| Argument(s) | Shortcut | Description |
|---|---|---|
| -force | -f | Force the action without prompting. |
| -partition <name> | -par | Specifies the name of the partition from which all objects are to be erased. To obtain a list of partitions, use the partition list command. |
| -password <password> | -pas | The password to be used as login credential by the partition's user. This parameter is required on password-authenticated HSMs. |
Example
lunash:>partition clear -partition myPartition
Please enter the Crypto Officer's challenge:
> ********
CAUTION: Are you sure you wish to clear the partition named:
myPartition
This will ERASE all the objects on the partition.
Type 'proceed' to clear the partition, or 'quit'
to quit now.
> proceed
'partition clear' successful.
Command Result : 0 (Success)