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”:"-"}’ http://127.0.0.1:8200/v1/gen/passphrase

If it’s this plugin

you should configure this policy:

I see, it’s only mentioning

gen/password

Maybe you should add

gen/passphrase

or open an issue on github.