add support for appRole authentication #251
Labels
area/auth
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/keep
Denotes an issue or PR that should be preserved from going stale.
Problem statement
Due to business requirements we want to move away from kubernetes auth to use appRole authentication.
So far, the implementation goes well with hashicorp vault and tools consuming an approle and using the hashicorp agent injector,
but when trying to use the BanzaiCloud webhook we are facing a limitation with the banzai webhook that might make us re-plan our strategy of moving to this method.
Scenario details
These are our annotations for the banzai webhook
and the error we are getting is the following:
By digging around I was able to logIn via CLI using the following post resquest
But when using the following post request, using role_name instead of role_id
I get the same error, meaning that the webhook is building the post request in the same way
Also I was looking at this annotation
vault.security.banzaicloud.io/token-auth-mount
but not sure how it works, when I've enabled it as a volume mount with the token the webhook is not injected, if this is a missing piece in this puzzle could you please guide me through an example in how to use it?Versions used:
Questions
Thanks in advance!
The text was updated successfully, but these errors were encountered: