rembrembdocs

Access control

An overview of access control in Redis Software.

Redis Software

Redis Software lets you use role-based access control (RBAC) to manage users' access privileges. RBAC requires you to do the following:

  1. Create roles and define each role's access privileges.

  2. Create users and assign roles to them. The assigned role determines the user's access privileges.

Cluster access versus database access

Redis Software allows two separate paths of access:

You can grant cluster access, database access, or both to each role. These roles let you differentiate between users who can access databases and users who can access cluster management, according to your organization's security needs.

The following diagram shows three different options for roles and users:

Role-based access control diagram.

Default database access

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

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.

More info

On this page