Authentication in Elasticsearch

Bruce picture Bruce · Mar 31, 2012 · Viewed 60.6k times · Source

How do I define security access in Elasticsearch? I have the elasticsearch-head plugin but your access doesn't require any security.

Answer

imotov picture imotov · Mar 31, 2012

The plugin mentioned in this answer is no longer being actively supported.


There is no built-in access control in elasticsearch. So, you would need to setup a reverse proxy (here is a blog post how to setup nginx), use one of the 3rd party elasticsearch plugins such as https://github.com/Asquera/elasticsearch-http-basic or use the official security plugin Shield.