Skip to content

Commit cbbf9b3

Browse files
committed
Sentinel: document auth-user directive.
1 parent 9c2e42d commit cbbf9b3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sentinel.conf

+12
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ sentinel monitor mymaster 127.0.0.1 6379 2
102102
#
103103
# sentinel auth-pass mymaster MySUPER--secret-0123passw0rd
104104

105+
# sentinel auth-user <master-name> <username>
106+
#
107+
# This is useful in order to authenticate to instances having ACL capabilities,
108+
# that is, running Redis 6.0 or greater. When just auth-pass is provided the
109+
# Sentinel instance will authenticate to Redis using the old "AUTH <pass>"
110+
# method. When also an username is provided, it will use "AUTH <user> <pass>".
111+
# In the Redis servers side, the ACL to provide just minimal access to
112+
# Sentinel instances, should be configured along the following lines:
113+
#
114+
# user sentinel-user >somepassword +client +subscribe +publish \
115+
# +ping +info +multi +slaveof +config +client +exec on
116+
105117
# sentinel down-after-milliseconds <master-name> <milliseconds>
106118
#
107119
# Number of milliseconds the master (or any attached replica or sentinel) should

0 commit comments

Comments
 (0)