Logo Wael's Digital Garden

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#

  1. Login to the Redis box/container.
  2. Open a Redis CLI with redis-cli
  3. Run ACL LIST
  4. 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 with OK
  5. Add a new user with ACL SETUSER nextcloud +@all ~* allchannels on >MYPASSWORD
  6. Save with ACL SAVE

Related#