From 41addfe768be9df1891d006a58f1d0fd54ba5635 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Thu, 1 Sep 2016 17:14:29 -0700 Subject: [PATCH] Update audit-enable to show more examples (#1842) * Update audit-enable to show more examples * Update audit_enable.go --- command/audit_enable.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/command/audit_enable.go b/command/audit_enable.go index 21f5f23a49..7178c60423 100644 --- a/command/audit_enable.go +++ b/command/audit_enable.go @@ -93,7 +93,14 @@ Usage: vault audit-enable [options] type [config...] This command enables an audit backend of type "type". Additional options for configuring the audit backend can be specified after the type in the same format as the "vault write" command in key/value pairs. - Example: vault audit-enable file path=audit.log + + For example, to configure the file audit backend to write audit logs at + the path /var/log/audit.log: + + $ vault audit-enable file file_path=/var/log/audit.log + + For information on available configuration options, please see the + documentation. General Options: ` + meta.GeneralOptionsUsage() + `