YEDIS only supports the CONFIG command to set the required password(s) for client authentication. All other CONFIG requests would be accepted as valid command without further processing.

To enable authentication, one can set a password that would be required for connections to communicate with the redis server. This is done using the following command:

CONFIG SET requirepass password[,password2]

Return value

Returns a status string.


$ CONFIG SET requirepass "yugapass"
$ AUTH "yugapass"
$ AUTH "bad"
"ERR: Bad Password."
$ CONFIG SET requirepass "yugapassA,yugapassB"
$ AUTH "yugapassA"
$ AUTH "yugapassB"
$ AUTH "yugapassC"
"ERR: Bad Password."

See also