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: docs/users.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Create a Database User #
2
2
3
-
You can create a MongoDB database user to authenticate to your MongoDB resource using SCRAM. First, [create a Kubernetes secret](#create-a-user-secret) for the new user's password. Then, [modify and apply the MongoDB CRD](#modify-the-mongodb-crd).
3
+
You can create a MongoDB database user to authenticate to your MongoDB resource using [SCRAM](https://docs.mongodb.com/manual/core/security-scram/). First, [create a Kubernetes secret](#create-a-user-secret) for the new user's password. Then, [modify and apply the MongoDB CRD](#modify-the-mongodb-crd).
4
4
5
5
You cannot disable SCRAM authentication.
6
6
@@ -19,7 +19,8 @@ You cannot disable SCRAM authentication.
19
19
password: <my-plain-text-password> # corresponds to spec.users.passwordSecretRef.key in the MongoDB CRD
20
20
...
21
21
```
22
-
1. Update `metadata.name` with the name of the secret and `stringData.password` with the user's password.
22
+
1. Update the value of `metadata.name` with any name for this secret.
23
+
1. Update the value of `stringData.password` with the user's password.
23
24
1. Save the secret with a `.yaml` file extension.
24
25
1. Apply the secret in Kubernetes:
25
26
```
@@ -72,7 +73,7 @@ You cannot disable SCRAM authentication.
0 commit comments