Home >

LunaSH Command Reference Guide > LunaSH Commands > audit > audit secret export

audit secret export

Export the audit logging secret to the user's local directory and log archive directory. This is the secret that can later be used to verify log files and log records produced by the HSM identified by the serial number provided with this command.

Syntax

audit secret export [-serial <serialnum>]

Parameter Shortcut Description
-serial -s

Specifies the serial number of the HSM whose logging secret you want to export. The default is to use the embedded HSM.

Example

lunash:>audit secret export -serial 150718

The encrypted log secret file 150718.lws now available for scp.

Now that you have exported your log secret, if you wish to verify your logs
on another HSM see the 'audit secret import' command. If you wish to verify
your logs on another SA see the 'audit log tar' command.

Command Result : 0 (Success)