Redis CLI with password

if you configured requirepass param is redis, some commands will not work and you will receive mesaage:

$ redis-cli INFO
NOAUTH Authentication required.

You can use -a argument, as example:

$ redis-cli -h 127.0.0.1 -p 6379 -a 'redispass'  INFO | grep ^db

Or, use CLI:

$ redis-cli

and then:

127.0.0.1:6379> auth redispass