{
  "schema_version": 2,
  "id": "operate/rs/security/access-control/manage-passwords/password-complexity-rules",
  "title": "Enable password complexity rules",
  "url": "https://redis.io/docs/latest/operate/rs/7.4/security/access-control/manage-passwords/password-complexity-rules/",
  "summary": "Enable password complexity rules.",
  "content": "\nRedis Enterprise Software provides optional password complexity rules that meet common requirements.  When enabled, these rules require the password to have:\n\n- At least 8 characters\n- At least one uppercase character\n- At least one lowercase character\n- At least one number\n- At least one special character \n\nThese requirements reflect v6.2.12 and later. Earlier versions did not support numbers or special characters as the first or the last character of a password. This restriction was removed in v6.2.12.\n\nIn addition, the password:\n\n- Cannot contain the user's email address or the reverse of the email address.\n- Cannot have more than three repeating characters.\n\nPassword complexity rules apply when a new user account is created and when the password is changed.  Password complexity rules are not applied to accounts authenticated by an external identity provider.  \n\nYou can use the Cluster Manager UI or the REST API to enable password complexity rules.\n\n## Enable using the Cluster Manager UI\n\nTo enable password complexity rules using the Cluster Manager UI:\n\n1. Go to **Cluster \u003e Security \u003e Preferences**, then select **Edit**.\n\n1. In the **Password** section, turn on **Complexity rules**.\n\n1. Select **Save**.\n\n## Enable using the REST API\n\nTo use the REST API to enable password complexity rules:\n\n``` REST\nPUT https://[host][:port]/v1/cluster\n{\"password_complexity\":true}\n```\n\n## Deactivate password complexity rules\n\nTo deactivate password complexity rules:\n\n- Use the Cluster Manager UI:\n\n    1. Go to **Cluster \u003e Security \u003e Preferences**, then select **Edit**.\n\n    1. In the **Password** section, turn off **Complexity rules**.\n\n    1. Select **Save**.\n\n- Use the `cluster` REST API endpoint to set `password_complexity` to `false`\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-10-21T09:46:20-07:00"
}
