Skip to content

Commit

Permalink
Sentinel: document auth-user directive.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 16, 2020
1 parent 29b9d0a commit b3a9700
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sentinel.conf
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,18 @@ sentinel monitor mymaster 127.0.0.1 6379 2
#
# sentinel auth-pass mymaster MySUPER--secret-0123passw0rd

# sentinel auth-user <master-name> <username>
#
# This is useful in order to authenticate to instances having ACL capabilities,
# that is, running Redis 6.0 or greater. When just auth-pass is provided the
# Sentinel instance will authenticate to Redis using the old "AUTH <pass>"
# method. When also an username is provided, it will use "AUTH <user> <pass>".
# In the Redis servers side, the ACL to provide just minimal access to
# Sentinel instances, should be configured along the following lines:
#
# user sentinel-user >somepassword +client +subscribe +publish \
# +ping +info +multi +slaveof +config +client +exec on

# sentinel down-after-milliseconds <master-name> <milliseconds>
#
# Number of milliseconds the master (or any attached replica or sentinel) should
Expand Down

0 comments on commit b3a9700

Please sign in to comment.