How to enable audit logs in vault cloud?
vault audit enable file file_path=/tmp/audit.log
Error enabling audit device: Error making API request.
URL: PUT https://***.aws.hashicorp.cloud:8200/v1/sys/audit/file
Code: 404. Errors:
* 1 error occurred:
* unsupported path
aram
September 29, 2021, 11:17am
2
“HCP Vault enables a File Audit Device by default”
You can access it from the portal:
Thank you for your response. But there’s no such button:
I’m on a dev cluster.
aram
September 30, 2021, 7:58am
4
I am not, so that’s a good difference to know. You cannot enable it though, there is no way to access it and I guess a dev instance doesn’t get audit logs.