So I’m following the steps mentioned in
- AppRole - Auth Methods - HTTP API | Vault | HashiCorp Developer
- AppRole pull authentication | Vault | HashiCorp Developer
In the second link, I have successfully completed Steps 4 and 5. I’m using the same token obtained in Step 4 for " Limit the SecretID Usages". And this is where I’m getting the trouble. I get “1 error occurred, permission denied.”
Similarly, in the first link, " Read AppRole " should be a very easy command to execute. I’m using the token generated in step 4 above and running the command -
curl \ --header "X-Vault-Token: same-token-as-step4" \ http://<my-address>/v1/auth/approle/role/<my-approle-name>
But again, I get the error “1 error occurred, permission denied”. Of course, I’m using the same approle in all the cases.