StackExchange / StackExchange/StackExchange.Redis
Is it possible to have different passwords for each endpoint in StackExchange.Redis
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
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,
};
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ConfigurationOptions and the linked Basics documentation, then trace how multiple endpoints and the Password option are represented. Determine whether credentials can be configured per endpoint and identify the relevant behavior or documentation change; done means the supported limitation or capability is clear and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, redis
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100