I am getting an error when I run the command vault operator init
The error I get is Error initializing: Error making API request.
URL: PUT https://127.0.0.1:8200/v1/sys/init
Code: 400. Errors:
- failed to initialize barrier: failed to persist keyring: AccessDenied: Access Denied
status code: 403,
I followed steps mentioned on this article:
I can see that my vault service is running when I check the status using the systemctl command. However, the init command fails.