Command: audit

To help teams keep track of when a secret was accessed and by whom, SecretHub logs every action on a secret. To show the audit log of actions on a repository or secret, you can use the audit command:

secrethub audit [options] <namespace>/<repo>[/<secret-path>]

The audit command prints out a list of audit events in a table format. Note that the audit log can only been shown, but never modified.


<namespace>/<repo>[/<secret-path>] (string)
The path to the repository or secret to show the audit log for.