{
  "id": "password-expiration",
  "title": "Configure password expiration",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/security/access-control/manage-passwords/password-expiration/",
  "summary": "Configure password expiration to enforce expiration of a user's password after a specified number of days.",
  "content": "\n## Enable password expiration\n\n\nPassword expiration is calculated from the time the password was last updated, not from when the policy is enabled. Passwords that were set long enough ago to already be expired will immediately be locked out when you enable this policy. Before enabling password expiration, verify all user passwords have been updated recently enough to avoid immediate lockouts.\n\n\nTo enforce an expiration of a user's password after a specified number of days:\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 on **Expiration**.\n\n    1. Enter the number of days before passwords expire.\n\n    1. Select **Save**.\n\n- Use the `cluster` endpoint of the REST API\n\n    ``` REST\n    PUT https://[host][:port]/v1/cluster\n    {\"password_expiration_duration\":\u003cnumber_of_days\u003e}\n    ```\n\n## Deactivate password expiration\n\nTo deactivate password expiration:\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 **Expiration**.\n\n    1. Select **Save**.\n\n- Use the `cluster` REST API endpoint to set `password_expiration_duration` to `0` (zero).\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

