cmu delete
This function deletes a key, certificate, or generic data object on the token. A confirmation message is presented to the user, describing the class and label of the object about to be deleted.
Syntax
cmu delete { -handle=<handle#> | -ouid=<OUID#> | -certlabel=<label> | -privatelabel=<label> | -publiclabel=<label> } [-force]
| Argument(s) | Description | 
|---|---|
| -certlabel=<label> | The label identifying the certificate to delete. Can be used instead of the object handle. | 
| -force | 
                                                                         Proceed without prompting for confirmation.  | 
                                                                
| -handle=<handle#> | The handle of the object to be deleted. This method of selection applies to Luna HSMs only. On a Luna Cloud HSM service slot, use -ouid. | 
| -ouid=<OUID#> | The Object Unified Identifier (OUID) of the object to be deleted. This method of selection  | 
                                                                
| -privatelabel=<label> | The label identifying the private key to delete. Can be used instead of the object handle or OUID. | 
| -publiclabel=<label> | The label identifying the public key to delete. Can be used instead of the object handle or OUID. | 
See also Common CMU Options.
Example
The following command deletes the key or certificate referenced by object handle 14 without a request for confirmation of the delete operation:
cmu delete -handle=14 -force
The following command queries the user for a handle of an object to delete. The user is asked to confirm the deletion operation:
cmu delete