{
  "schema_version": 2,
  "id": "operate/rc/security/access-control/data-access-control/create-assign-users",
  "title": "Create and edit database users",
  "url": "https://redis.io/docs/latest/operate/rc/security/access-control/data-access-control/create-assign-users/",
  "summary": "Create a database user and assign it a role.",
  "tags": [
    "docs",
    "operate",
    "rc"
  ],
  "last_updated": "2026-10-01T14:41:35+01:00",
  "page_type": "content",
  "content_hash": "43034cab2e98dfec72c9a2c1dcd69384c48482a47fb9d4b7bbc786282798923d",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Before you create a database user, you must [create a data access role](https://redis.io/docs/latest/operate/rc/security/access-control/data-access-control/create-roles) to assign to that user."
    },
    {
      "id": "create-a-user",
      "title": "Create a user",
      "role": "content",
      "text": "To create a user:\n\n1. Go to **Data Access Control** from the [Redis Cloud console](https://cloud.redis.io/#/) menu.\n\n    ![Menu for database access control.](https://redis.io/docs/latest/images/rc/data-access-control-menu.png)\n\n1. Select the **Users** tab.\n\n    ![User configuration area.](https://redis.io/docs/latest/images/rc/data-access-control-users-no-users.png)\n\n2. Select `+` to create a new user.\n\n    ![User add or edit.](https://redis.io/docs/latest/images/rc/data-access-control-users-add-or-edit.png)\n\n3. Enter a username in the **Username** field.\n\n    ![User add username.](https://redis.io/docs/latest/images/rc/data-access-control-users-add.png)\n\n    > [!NOTE]\n    > An error occurs if a user tries to connect to a memcached database with the username `admin`. Do not use `admin` for a username if the user will be connecting to a memcached database.\n    >\n\n1. Select a [**Role**](https://redis.io/docs/latest/operate/rc/security/access-control/data-access-control/create-roles) from the list.\n\n    ![User select role.](https://redis.io/docs/latest/images/rc/data-access-control-users-add-role.png)\n\n1. Enter and confirm the user's password. ACL user passwords must be between 8 and 128 characters long.\n\n    Then, select the check mark to save the user. \n\n    ![User add password and finish.](https://redis.io/docs/latest/images/rc/data-access-control-users-password-and-finish.png)"
    },
    {
      "id": "assign-roles-to-existing-users",
      "title": "Assign roles to existing users",
      "role": "content",
      "text": "To assign a data access role to an existing user:\n\n1. Go to **Data Access Control** from the [Redis Cloud console](https://cloud.redis.io/#/) menu.\n\n    ![Menu for database access control.](https://redis.io/docs/latest/images/rc/data-access-control-menu.png)\n\n1. Select the **Users** tab.\n\n    ![User configuration area.](https://redis.io/docs/latest/images/rc/data-access-control-users.png)\n\n1. Point to the user and select the **Edit*** icon when it appears.\n\n    ![User add or edit.](https://redis.io/docs/latest/images/rc/data-access-control-users-add-or-edit.png)\n\n1. Select a [**Role**](https://redis.io/docs/latest/operate/rc/security/access-control/data-access-control/create-roles) from the list.\n\n    ![User select role.](https://redis.io/docs/latest/images/rc/data-access-control-users-add-role.png)\n\n1. Select the check mark to save the user. \n\n    ![User add password and finish.](https://redis.io/docs/latest/images/rc/data-access-control-users-password-and-finish.png)"
    }
  ],
  "examples": []
}
