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 "https://127.0.0.1:8200/v1/sys/audit/file": dial tcp 127.0.0.1:8200: connect: connection refused
I have the VAULT_ADDRESS set. Not sure why it’s trying 127.0.0.1.
Ah nevermind: VAULT_ADDR is what I needed to be using