Vault Audit Log doesn't attempt to use the VAULT_ADDRESS varible


New Vault 1.6.0 cluster and I am trying to enable audit logging by running the following:

vault audit enable file file_path=/var/log/vault.d/vault_audit.log

It errors with the following:

Error enabling audit device: Put "": dial tcp connect: connection refused

I have the VAULT_ADDRESS set. Not sure why it’s trying

Ah nevermind: VAULT_ADDR is what I needed to be using

Hi! Yeah, that’s correct. Did it work?

Yes, got past the original error.

But now it’s giving a permissions error which is odd: Permission denied when i try to vault audit enable file

Gotcha. Makes more sense to continue in that thread then; I’ve just responded.