redis - 使用 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?
我的问题:
- Redis Sentinel 密码是否必须与 master 密码相同?
- 受密码保护的 Sentinel 节点是否可以与不需要身份验证的主节点一起使用?我意识到这种情况可能没有多大意义,但我只是想知道是否支持这种用例。
解决方案
您可以在此链接上找到一些信息
推荐阅读
- python - Python:matplotlib.pyplot.show() 未显示绘图
- reactjs - Algolia InstantSearch 没有响应
- javascript - 从网站获取 javascript 函数中随机生成的字符串
- python - 我无法解决的索引越界错误
- c# - 调用具有仅在运行时已知的特定类型的泛型方法并返回该类型?
- javascript - JQWidgets jqxTabs 组错误 - 切换选项卡时的问题
- go - 以尽可能少的开销解析日志条目
- flutter - 是否可以将 Flutter 中的 PageView 设置为只能从边缘滑动?
- android - 在 Xamarin Forms 中绑定之前修改数据
- python - 如何将函数转换为类并将表单传递给 Django?