Does RedisCluster support password?
See original GitHub issueI am using RedisCluster. It works fine when redis is not password protected. But when we make cluster protected and I add password in application.conf as mentioned in document. It doesn’t seem to work.
scredis {
redis {
# Redis server address
host = "hostname"
# Redis server port
#port = "7387"
password = "redispassword"
# List of hosts or host:port tuples, which serve as seed nodes for a Redis cluster connection.
# If port is missing, the configured port is used as default.
#cluster-nodes = [${scredis.redis.host}":"${scredis.redis.port}]
cluster-nodes = ["hostname1:7385","hostname2:7386","hostname3:7387"]
#cluster-nodes = ${?REDIS_CLUSTER_NODES}
}
}
Then I use below code to initialized redis client -
RedisCluster redisClient = RedisCluster(providedActorSystem = providedActorSystem)
I get an exception that password is required
The future returned an exception of type: scredis.exceptions.RedisErrorResponseException, with message: NOAUTH Authentication required..
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Redis security
The Redis password is stored in the redis.conf file and inside the client configuration. Since the system administrator does not need to remember...
Read more >Redis Cluster and auth (password) - Google Groups
Right now, there is no way to set up a Redis Cluster with passwords. Actually, Redis Cluster should probably disable the password feature....
Read more >How can I set password for Redis cluster? - Stack Overflow
To do it on a running instance, use redis-cli and type: config set masterauth <password>. To set it permanently, add this to your...
Read more >Redis Cluster Authentication - VMware Docs
Redis Authentication is enabled for Eventstore mainly to make it secure and to reduce the vulnerability. The topic consists of:
Read more >Manage passwords | Redis Documentation Center
For user access to the Redis Enterprise Software admin console, you can set a password expiration policy to prompt the user to change...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kpbochenek as PR is openned can you after merge push to maven ? even some snapshot etc version, thanks!
I guess there will be no PR from indusbull, will try my best to work on that tomorrow