Caiyeon / goldfish

A HashiCorp Vault UI written with VueJS and Vault native Go API

Home Page:https://vault-ui.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: An option to change default auth type

alexandersusha opened this issue · comments

Feature request:

Would it be nice to have an config option to change/set a default authentication type on the login page, e.g right now the token type is default and it is a bit confusing for Vault users in our company. I want to be able setting LDAP by default.

Having a default login method is possible in a "hacky" way: setting the preferred login path in runtime config, and having it served to the end user in the health ajax request. I've thought about it long ago but never did anything because... the information just doesn't belong in that response. I'll leave this open until I decide to come up with something better or reject it altogether

In either case though, if your company's vault users do not understand what a vault token is and how it is related to LDAP, I believe a proper knowledge transfer or wiki page is in order :)

Thank you for your answer. Could you please provide me more details how to configure a default login method using the "hacky" way?

I meant possible as in I could code a hacky solution to this problem. But for the sake my sanity I haven't. The information just doesn't belong in that HTTP response.