audit secret import

Imports the audit logging secret from another HSM, in order to verify log records and log files from that other HSM. The logging secret must first have been exported from the originating (source) HSM using the audit secret export command, and the resulting audit-secret file transported to the location/host of the current (target) HSM.

User Privileges

Only specialized Audit users can access audit commands.

Syntax

audit secret import -serialtarget <serialnum> -serialsource <serialnum> -file <filename>

Argument(s) Shortcut Description
-file <filename> -f Specifies the name of the audit secret file to import.
-serialsource <serialnum> -serials

Specifies the serial number of the source HSM from which the logging secret was exported.

-serialtarget <serialnum> -serialt Specifies the serial number of the target HSM to which the logging secret will be imported.

Example

lunash:>audit secret import -serialtarget 532018 -serialsource 66331 -file 66331.lws
 
Successfully imported the encrypted log secret 66331.lws
 
Now that you have imported a log secret if you wish to verify
your logs please see the 'audit log verify' command.
 
Command Result : 0 (Success)