mirror of https://github.com/redis/redis.git
				
				
				
			ACL: Document masteruser option in redis.conf.
This commit is contained in:
		
							parent
							
								
									bfdcfbb3ed
								
							
						
					
					
						commit
						fb7bfc17cd
					
				
							
								
								
									
										11
									
								
								redis.conf
								
								
								
								
							
							
						
						
									
										11
									
								
								redis.conf
								
								
								
								
							| 
						 | 
				
			
			@ -291,6 +291,17 @@ dir ./
 | 
			
		|||
# refuse the replica request.
 | 
			
		||||
#
 | 
			
		||||
# 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
 | 
			
		||||
# is still in progress, the replica can act in two different ways:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue