Commit fb7bfc17 authored by antirez's avatar antirez
Browse files

ACL: Document masteruser option in redis.conf.

parent bfdcfbb3
...@@ -291,6 +291,17 @@ dir ./ ...@@ -291,6 +291,17 @@ dir ./
# refuse the replica request. # refuse the replica request.
# #
# masterauth <master-password> # masterauth <master-password>
#
# However this is not enough if you are using Redis ACLs (for Redis version
# 6 or greater), and the default user is not capable of running the PSYNC
# command and/or other commands needed for replication. In this case it's
# better to configure a special user to use with replication, and specify the
# masteruser configuration as such:
#
# masteruser <username>
#
# When masteruser is specified, the replica will authenticate against its
# master using the new AUTH form: AUTH <username> <password>.
# When a replica loses its connection with the master, or when the replication # When a replica loses its connection with the master, or when the replication
# is still in progress, the replica can act in two different ways: # is still in progress, the replica can act in two different ways:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment