You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when using Redis Sentinel, we only support password authentication for master-replica nodes. This is done by specifying the master password in the Redis URL, such as:
eg: redisURL=redis-sentinel://masterSecret1@redis-sentinel-1:26379,redis-sentinel-2:26379,redis-sentinel-3:26379?sentinelMasterId=mymaster
In this example, masterSecret1 is the password for the master node, not the Sentinel nodes.
Why?
Currently, when using Redis Sentinel, we only support password authentication for master-replica nodes. This is done by specifying the master password in the Redis URL, such as:
eg:
redisURL=redis-sentinel://masterSecret1@redis-sentinel-1:26379,redis-sentinel-2:26379,redis-sentinel-3:26379?sentinelMasterId=mymaster
In this example,
masterSecret1
is the password for the master node, not the Sentinel nodes.In case we want to more security, Redis itself supports password authentication for Sentinel nodes as described here:
https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/#sentinel-and-redis-authentication
But the Lettuce Redis library does not support configuring the Sentinel password via the Redis URL. This issue is tracked here:
redis/lettuce#1232
To enable password authentication for Sentinel nodes, we need to adapt the James codebase to support this functionality.
How?
redis.sentinel.password
The text was updated successfully, but these errors were encountered: