Custom Auth Plugin to be shown on the UI

Hello together,

I am interested in creating a custom auth plugin and found the following resources ( Building a Vault Secure Plugin and GitHub - velanse/vault-auth-plugin-mock: An example @HashiCorp Vault auth plugin ) - I was able to build & deploy the plugin and it seems to work when I use the mentioned API calls (I can write users, etc.).

Beside having the API I was expecting the new auth method to show up in the dropdown List on the “Sign in to Vault” page, but it is not the case.

The question therefore is if I did something wrong or what I would need to do to have the custom plugin being available in the dropdown.

Thank you and best regards,

Marvin

Auth plugins can implement new ways of authenticating for API clients, but the UI is not extensible.

The dropdown comes from a hardcoded list in vault/supported-auth-backends.js at main · hashicorp/vault · GitHub

1 Like

Thank you for taking the time :slight_smile: I came to the same conclusion after doing some additional research and going through some tickets.