I have a current use case where I need to declare a user in an external ACL file with multiple passwords. I know multiple passwords are supported given that I can do this via the CLI; however, I cannot figure out the format for how to do this in an external ACL file.
Currently I do something like this with success: user default +@all ~* on >password1
But I'd like to be able to set multiple passwords for this user, for example something like this: user default +@all ~* on >password1 >password2
Unfortunately, this does not work and results in only the first password being accepted. I've attempted to break this into multiple commands and tried multiple other formats to no avail. I have looked all over for documentation or anyone who has tried to do this but can't seem find anything. Can anyone point me towards any documentation that exists for now to format this in an external ACL file? I would greatly appreciate any assistance..
Comment From: huangzhw
What version of you Redis. I had a test, multiple passwords from file is OK.
Comment From: ewingmatthewPFG
After many many hours I finally figured out what's going on. My .conf file was pointing to the external ACL file for another DB. Thanks for confirming that it works. That really helped in regard to changing what I was attempting to debug.