Elasticsearch 中的身份验证 [英] Authentication in Elasticsearch

查看:73
本文介绍了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆