Home >

LunaSH Command Reference Guide > LunaSH Commands > partition > partition showcontents

partition showcontents

Display a list of all objects on a partition. The partition name, serial number and total object count is displayed. For each object that is found, the label and object type are displayed.

For SafeNet Network HSM with Password Authentication, if the HSM Partition Owner password isn't entered on the command line, the user is prompted for it interactively. User input is echoed as asterisks.

For SafeNet Network HSM with PED [Trusted Path] Authentication, 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.

Syntax

partition showcontents -partition <partition_name> [-cu] -password <password>

Parameter Shortcut Description
-cu -c Perform task as Crypto-User. This option is required if you are using the Crypto-Officer/Crypto-User distinction.
-partition -par Specifies the name of the HSM Partition for which contents are to be displayed. Obtain the HSM Partition name by using the partition -list command.
-password -pas The HSM Partition Owner password or partition challenge password.

Example

lunash:> partition showContents -partition c1
 
Please enter the password for the partition:
> *******
Partition Name: c1
Partition SN: 150520009
Storage (Bytes): Total=102701, Used=1800, Free=100901
Number objects: 3
 
Object Label: Generated DES Key
Object Type: Symmetric Key
 
Object Label: Generated RSA Public Key
Object Type: Public Key
 
Object Label: Generated RSA Private Key
Object Type: Private Key
 
Command Result : 0 (Success)