使用Redis Sentinel进行身份验证

时间:2020-08-27 18:03:47

标签: redis

我试图更好地了解Redis Sentinel身份验证。 如果有人可以澄清,将不胜感激。

每个Redis Sentinel文档

You can also configure the Sentinel instance itself in order to require
client authentication via the AUTH command, however this feature is only
available starting with Redis 5.0.1.
In order to do so, just add the following configuration directive to all
your Sentinel instances: requirepass <your_password_here?

我的问题:

  1. Redis Sentinel密码必须与主密码相同吗?
  2. 受密码保护的Sentinel节点可以与不需要身份验证的主服务器一起使用吗?我意识到这种情况可能没有多大意义,但我只是想知道是否支持此用例。

1 个答案:

答案 0 :(得分:0)

您可以找到有关此link

的一些信息