Home > |
---|
Delete all objects on a partition. Because this is a destructive command, the user is prompted to proceed/quit before the erasure occurs.
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 PED-authenticated HSMs, PED action is required, and the Partition Owner PED Key (black) is requested. Any password provided at the command line is ignored. However, if a PED PIN was specified when the HSM partition was created, that PED PIN must be entered at the PED keypad.
partition clear -partition <partitionname> -password <password> [-force]
Parameter | Shortcut | Description |
---|---|---|
-force | -f | Force the action without prompting. |
-partition | -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 | -pas | The password to be used as login credential by the partition's user. This parameter is required on password-authenticated HSMs. |
lunash:> partition -clear -partition b2
Please enter the password for the partition:
> *******
CAUTION: Are you sure you wish to clear the partition named:
b2
This will ERASE all the objects on the partition.
Type 'proceed' to clear the partition, or 'quit' to quit now.
> proceed
'partition -clear' successful.