Logout/Reset cookie for shield

security

(Vincent) #1

I've installed shield 2.4.0 on elasticsearch 2.4.0 but not on kibana. Now when I go to http://localhost:9200/_count a window prompt out for username and password. I logged in as a normal user with read only access.

Later on I want to switch to admin, how can I do this? It seems any following operation assume the normal user role with read access. I cannot "logout" current user.

Thank you!


(Steve Kearns) #2

Hi Vincent,

When you point your browser directly at a Shield-protected Elasticsearch cluster, it uses the browser's built in http basic auth support, which caches successful credentials for the life of the browser. This is the way that browsers work, which we cannot control. This is a big part of why we created the Shield Plugin for Kibana, so we could have a proper login/out experience.

If you'd like to run commands against the cluster, with proper login-logout, etc, I suggest installing Sense into Kibana, and running your requests from there.

Thanks,
Steve


(Vincent) #3

Got it. Thank you!


(system) #4