Elasticsearch 中的身份验证 [英] Authentication in Elasticsearch
问题描述
如何在 Elasticsearch 中定义安全访问?我有 elasticsearch-head 插件,但您的访问不需要任何安全性.
How do I define security access in Elasticsearch? I have the elasticsearch-head plugin but your access doesn't require any security.
推荐答案
不再积极支持此答案中提到的插件.
The plugin mentioned in this answer is no longer being actively supported.
elasticsearch 中没有内置的访问控制.所以,你需要设置一个反向代理(这里是一个 博客文章 如何设置 nginx),使用 3rd 方 elasticsearch 插件之一,例如 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.
这篇关于Elasticsearch 中的身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!