Closed nkvaratskhelia closed 3 years ago
Please fix ACL and roles on your Vault server. The cert login itself works. Spring Cloud Vault uses the returned token and cannot do anything unless the server side is configured correctly.
Fixed ACL policy associated with the tokens generated during certificate auth and it helped. Thank you for the tip.
When using certificate authentication, I'm getting a
org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: [{"errors":["1 error occurred:\n\t* permission denied\n\n"]}
exception.I tried logging in with Postman, using the api request described here: https://www.vaultproject.io/docs/auth/cert and it seems to work:![image](https://user-images.githubusercontent.com/16168235/115146369-e5573600-a05e-11eb-8df2-87791de9a15d.png)
Minimal reproducer: https://github.com/nkvaratskhelia/vault-demo You only need to add a store.p12 file to resources.