This has worked several times before but I was setting up a new instance of Vault and I'm unable to enable the audit backend. I tried using both the CLI and the REST API as follows:
CLI:
./ vault audit-enable file path=/var/log/vault_audit.log
REST API:
The error I get in both cases : sanity check failed; unable to open /var/log/vault_audit.log for writing: open /var/log/vault_audit.log: permission denied.
All directories have write permissions enabled. I tried running this as the logged in user as well as root - but witht he same result.
Thanks!