首页 > 解决方案 > 使用 Redis Sentinel 进行身份验证

问题描述

我试图更好地理解 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 密码是否必须与 master 密码相同?
  2. 受密码保护的 Sentinel 节点是否可以与不需要身份验证的主节点一起使用?我意识到这种情况可能没有多大意义,但我只是想知道是否支持这种用例。

标签: redis

解决方案


您可以在此链接上找到一些信息


推荐阅读