Automatic Password Generation

Hi All, I am trying to automatically generate a new password for an account that is stored in the vault using a bash script. When I run the cURL command below I get a permissions denied error. Is it possible that I need to give my app role id or my token permission to the ‘gen/passphrase’ endpoint?

curl -sS --fail -X POST -H “X-Vault-Token: $VAULT_TOKEN” -H “Content-Type: application/json” --data ‘{“words”:“4”,“separator”:"-"}’

If it’s this plugin

you should configure this policy:

I see, it’s only mentioning


Maybe you should add


or open an issue on github.