1

I am trying to setup endpoints for master and slave. As per the Basics documentation https://stackexchange.github.io/StackExchange.Redis/Configuration.html you can connect to multiple Redis servers, and StackExchange.Redis will automatically determine the master/slave setup.

ConnectionMultiplexer redis = ConnectionMultiplexer.Connect("server1:6379,server2:6379"); 

Is it possible to have different passwords for master and slave setup?

Here is my code for Master setup, i can add more endpoints to setup slave but not sure if Redis allows different passwords for Master and Slave.

 var configurationOptions = new ConfigurationOptions { EndPoints = { { cachedserver.Host, cachedserver.Port }, }, Password = cachedserver.Password, SslProtocols = System.Security.Authentication.SslProtocols.Tls12, }; 

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.