the cyclone redis client has an auth
method that you can send a password to, having set that password in redis.conf
def auth(self, password):
"""
Simple password authentication if enabled
"""
return self.execute_command("AUTH", password)
But be very careful before using redis auth. it's not really considered secure (by design) and should mostly be used just to protect instances against configuration errors causing a client to connect to the wrong database, not as a security method.
from the redis config doc:
# This should stay commented out for backward compatibility and because most
# people do not need auth (e.g. they run their own servers).
#
# Warning: since Redis is pretty fast an outside user can try up to
# 150k passwords per second against a good box. This means that you should
# use a very strong password otherwise it will be very easy to break.