quarkiverse / quarkus-vault

Quarkus HashiCorp Vault extension
Apache License 2.0
18 stars 22 forks source link

Userpass authentication method does not support custom mount path #269

Closed kdubb closed 3 months ago

kdubb commented 3 months ago

Discussed in https://github.com/quarkiverse/quarkus-vault/discussions/173

Originally posted by **davetrux** September 29, 2023 In our instance of Vault, the admin named the userpass authentication method something different than "userpass". Using curl, I can login by changing the path from `v1/auth/userpass/login` to `/v1/auth/othername/login/` and it works. I have not been able to find a configuration for our Quarkus app that works. The app cannot connect, it just gets 403 responses back from Vault, because it's trying to use `v1/auth/userpass/login`. In our Quarkus app, what can I configure to have the same effect as the curl login?