This document: Azure - Auth Methods | Vault by HashiCorp
It gives an example of creating an azure auth role via API.
The sample request looks like this:
$ curl
–header “X-Vault-Token: …”
–request POST
–data ‘{“policies”: [“dev”, “prod”], …}’
https://127.0.0.1:8200/v1/auth/azure/role/dev-role
In the request body, it specifies “policies”, however in the API documentation here: Azure - Auth Methods - HTTP API | Vault by HashiCorp
There is no element by name “policies”. In the API documentation, there is mention of “token_policies”, is that what the above curl request should have specified instead of “policies”?