Check audit logs
If you’ve been following along, you’ve likely touched your secrets quite a few times already.
When working in teams, it’s important to be able to track down who has had access to what secret at what point in time.
Especially when people leave.
That’s what the
audit command is for.
For instance, use the following command to track down how the
hello-world secret has been used (and abused) over time:
secrethub audit your-username/start/hello-world
As you can see, it prints out an audit log for the
You can use the
--timestamp flag to show timestamps instead of human readable durations.