You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/rs/security/access-control/manage-passwords/rotate-passwords.md
+13-17Lines changed: 13 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ weight: 70
13
13
14
14
Redis Enterprise Software lets you implement password rotation policies using the [REST API]({{< relref "/operate/rs/references/rest-api" >}}).
15
15
16
-
You can add a new password for a database user without immediately invalidating the old one (which might cause authentication errors in production).
16
+
You can add a new password for a database user without immediately invalidating the old one to prevent possible authentication errors in production.
17
17
18
18
{{< note >}}
19
19
Password rotation does not work for the default user. [Add additional users]({{< relref "/operate/rs/security/access-control/create-users" >}}) to enable password rotation.
@@ -27,7 +27,7 @@ you can set a [password expiration policy]({{< relref "/operate/rs/security/acce
27
27
However, for database connections that rely on password authentication,
28
28
you need to allow for authentication with the existing password while you roll out the new password to your systems.
29
29
30
-
With the Redis Enterprise Software REST API, you can add additional passwords to a user account for authentication to the database or the Cluster Manager UI and API.
30
+
With the Redis Enterprise Software REST API, you can add additional passwords to your user account for authentication to the database or the Cluster Manager UI and API.
31
31
32
32
After the old password is replaced in the database connections, you can delete the old password to finish the password rotation process.
33
33
@@ -41,13 +41,13 @@ The new password cannot already exist as a password for the user and must meet t
41
41
42
42
## Rotate password
43
43
44
-
To rotate the password of a user account:
44
+
To rotate your password:
45
45
46
-
1. Add an additional password to a user account with [`POST /v1/users/password`]({{< relref "/operate/rs/references/rest-api/requests/users/password#add-password" >}}):
46
+
1. Add an additional password to your password list with [`POST /v1/users/password`]({{< relref "/operate/rs/references/rest-api/requests/users/password#add-password" >}}). You must provide the relevant username and current password for [basic authentication]({{<relref "/operate/rs/references/rest-api#authentication">}}) credentials when you send the request.
After you send this request, you can authenticate with both the old and the new password.
@@ -56,26 +56,22 @@ To rotate the password of a user account:
56
56
1. Delete the original password with [`DELETE /v1/users/password`]({{< relref "/operate/rs/references/rest-api/requests/users/password#update-password">}}):
If there is only one valid password for a user account, you cannot delete that password.
64
64
65
65
## Replace all passwords
66
66
67
-
You can also replace all existing passwords fora user account with a single password that does not match any existing passwords.
67
+
You can also replace all existing passwords foryour user account with a single password that does not match any existing passwords.
68
68
This can be helpful if you suspect that your passwords are compromised and you want to quickly resecure the account.
69
69
70
-
To replace all existing passwordsfor a user account with a single new password, use [`PUT /v1/users/password`]({{< relref "/operate/rs/references/rest-api/requests/users/password#delete-password">}}):
70
+
To replace your passwords, use [`PUT /v1/users/password`]({{< relref "/operate/rs/references/rest-api/requests/users/password#delete-password">}}). You must provide the relevant username and current password for [basic authentication]({{<relref "/operate/rs/references/rest-api#authentication">}}) credentials when you send the request.
0 commit comments