Kibana auto login

Hi

OS - 22.04
Elasticsearch - 7.17.0
kibana - 7.17.23

we have enabled auto login feature with below code in kibana.
xpack.security.authc.providers:
anonymous.anonymous1:
order: 0
credentials:
username: "test"
password: "xxxxxxx"

Above lines are added in /etc/kibana/kibana.yml file after this configuration auto login working fine.

But after this we can auto login with test only in kibana console if we want to login with another user in Kibana console so is that possible?

and if possible then please guide me on how to log in with another user in kibana console if we have already configured one user for auto login

Thanks in advance

Hi @Ekta ,

But after this we can auto login with test only in kibana console if we want to login with another user in Kibana console so is that possible?

It looks like you configured anonymous access to Kibana using test user as a default authentication method for Kibana. It means that anyone within your network can access Kibana.

If you want to have both anonymous and basic authentication, you can use example from

This way you can explicitly provide credentials and login with a specific user. Anonymous authentication will remain as a 2nd option.

Best regards, Dima