Hey,
Redis Cluster never uses normal connections to send commands to Redis
instances between nodes. It always uses the cluster bus, and slaves
always auto-elect themselves, masters always auto-demote, and so
forth.
So technically adding password support to redis-trib and Redis cluster
is as simple as adding a switch to redis-trib that sends AUTH at every
new connection with a node.
However as Matt commented, it is not clear if there is a real security
gain given that masters have an additional open port, the cluster bus.
Probably it is still somewhat useful because you may create some kind
of DMZ where your hosts can talk in the cluster port, but where
connections from outside can only target your mapped cluster ports.
Still, is it worth it, for an authentication system as weak as Redis
employs? Probably not.
Long story short, for now we'll leave things as they are, that is, you
can't enable authentication in a cluster if you want to talk to the
cluster with redis-trib. Later there will be time to understand what
to do, if to improve the authentication system, or to remove it from
Cluster at all.
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - GoPivotal
http://invece.org
To "attack a straw man" is to create the illusion of having refuted a
proposition by replacing it with a superficially similar yet
unequivalent proposition (the "straw man"), and to refute it
-- Wikipedia (Straw man page)