弹性搜索认证 [英] Authentication in Elasticsearch
问题描述
如何在Elasticsearch中定义安全访问?我有弹性搜索头插件,但是您的访问不需要任何安全性。
How to define security access in Elasticsearch? I have the elasticsearch-head plugin but your access don't require any security.
推荐答案
此答案中提到的插件是更长的积极支持。
The plugin mentioned in this answer is no longer being actively supported.
弹性搜索中没有内置的访问控制。因此,您需要设置一个反向代理(这里是博客文章如何设置nginx),使用第三方弹性搜索插件之一,例如 https:// github。 com / Asquera / elasticsearch-http-basic 或使用官方安全插件 Shield 。
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.
这篇关于弹性搜索认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!