Kibana auto login (with security enabled)

Hey there,

It sounds like you might want to look into anonymous access, which would allow you to specify an existing user account to automatically log users in with. But this is assuming that:

  • your Kibana deployment is already protected behind your own authentication system
  • you want your users to access Kibana via a shared/service account
  • you aren't interested in using SSO (SAML/Kerberos/OIDC)

Is there a way to do it via an API while still allowing me to access the Kibana UI with credentials if I access the Kibana directly (i.e. for cases when I want to login with a different user, for example - a more privileged one)?

For this case, you could configure the auth providers to still allow for basic auth, in addition to guest/anonymous access, so that you are able to choose an option at login.