Default user

When you create a database, default user access is enabled by default.

If you set up role-based access controls for your database and don’t require compatibility with versions earlier than Redis 6, you can deactivate the default user.

Warning -
Before you deactivate default user access, make sure the role associated with the database is assigned to a user. Otherwise, the database will be inaccessible.

Role-based access control

To control a user’s level of access to a database, use role-based access control (RBAC).

  1. Configure Redis ACLs.

  2. Create or edit a role and associate it with specific Redis ACLs and databases.

  3. Assign the role to a user to grant access to the database with the permissions defined by the role’s associated ACLs.

More info