Redis - Add ACL Users
Problem#
I want to configure a Redis database and enabled authentication as well as add users with auth that can login from anywhere on my nextwork.
Solution#
- Login to the Redis box/container.
- Open a Redis CLI with
redis-cli - Run
ACL LIST - If you get
(error) NOAUTH Authentication required.then you need to authentication first with the following command:AUTH default <password>and if you got it should respond withOK - Add a new user with
ACL SETUSER nextcloud +@all ~* allchannels on >MYPASSWORD - Save with
ACL SAVE