@@ -52,17 +52,17 @@ authentication mechanisms depending on what your MongoDB server supports:
52
52
uses your database username and password, encrypted with the ``SHA-1``
53
53
algorithm
54
54
55
- Server versions 4.0 and later use ``SCRAM-SHA-256`` as the default
56
- mechanism.
55
+ {+mdb-server+} versions 4.0 and later use ``SCRAM-SHA-256`` as the default
56
+ authentication mechanism.
57
57
58
58
The following code snippets show how to use the default authentication mechanism by
59
59
using the following placeholders:
60
60
61
- * ``db_username`` - your MongoDB database username
62
- * ``db_password`` - your MongoDB database user's password
63
- * ``hostname`` - network address of your MongoDB server, accessible by your client
64
- * ``port`` - port number of your MongoDB server
65
- * ``authenticationDb`` - MongoDB database that contains your user's
61
+ * ``db_username``: your MongoDB database username
62
+ * ``db_password``: your MongoDB database user's password
63
+ * ``hostname``: network address of your MongoDB server, accessible by your client
64
+ * ``port``: port number of your MongoDB server
65
+ * ``authenticationDb``: MongoDB database that contains your user's
66
66
authentication data. If you omit this parameter, the driver uses the
67
67
default value ``admin``.
68
68
@@ -123,11 +123,11 @@ algorithm, to authenticate your user.
123
123
The following code snippets show how to specify the authentication mechanism by
124
124
using the following placeholders:
125
125
126
- * ``db_username`` - your MongoDB database username.
127
- * ``db_password`` - your MongoDB database user's password.
128
- * ``hostname`` - network address of your MongoDB server, accessible by your client.
129
- * ``port`` - port number of your MongoDB server.
130
- * ``authenticationDb`` - MongoDB database that contains your user's
126
+ * ``db_username``: your MongoDB database username.
127
+ * ``db_password``: your MongoDB database user's password.
128
+ * ``hostname``: network address of your MongoDB server, accessible by your client.
129
+ * ``port``: port number of your MongoDB server.
130
+ * ``authenticationDb``: MongoDB database that contains your user's
131
131
authentication data. If you omit this parameter, the driver uses the
132
132
default value ``admin``.
133
133
@@ -186,11 +186,11 @@ your user.
186
186
The following code snippets show how to specify the authentication mechanism
187
187
by using the following placeholders:
188
188
189
- * ``db_username`` - your MongoDB database username.
190
- * ``db_password`` - your MongoDB database user's password.
191
- * ``hostname`` - network address of your MongoDB server, accessible by your client.
192
- * ``port`` - port number of your MongoDB server.
193
- * ``authenticationDb`` - MongoDB database that contains your user's
189
+ * ``db_username``: your MongoDB database username.
190
+ * ``db_password``: your MongoDB database user's password.
191
+ * ``hostname``: network address of your MongoDB server, accessible by your client.
192
+ * ``port``: port number of your MongoDB server.
193
+ * ``authenticationDb``: MongoDB database that contains your user's
194
194
authentication data. If you omit this parameter, the driver uses the
195
195
default value ``admin``.
196
196
@@ -247,9 +247,9 @@ the subject name of the client certificate.
247
247
The following code snippets show how to specify the authentication mechanism
248
248
by using the following placeholders:
249
249
250
- * ``hostname`` - network address of your MongoDB server , accessible by your client.
251
- * ``port`` - port number of your MongoDB server.
252
- * ``authenticationDb`` - MongoDB database that contains your user's
250
+ * ``hostname``: network address of your MongoDB deployment , accessible by your client.
251
+ * ``port``: port number of your MongoDB server.
252
+ * ``authenticationDb``: MongoDB database that contains your user's
253
253
authentication data. If you omit this parameter, the driver uses the
254
254
default value ``admin``.
255
255
@@ -321,12 +321,12 @@ provide your AWS IAM credentials in the next sections.
321
321
322
322
These sections contain code examples that use the following placeholders:
323
323
324
- * ``awsKeyId`` - value of your AWS access key ID
325
- * ``awsSecretKey`` - value of your AWS secret access key
326
- * ``atlasUri`` - network address of your MongoDB Atlas deployment
327
- * ``hostname`` - hostname of your MongoDB Atlas deployment
328
- * ``port`` - port of your MongoDB Atlas deployment
329
- * ``awsSessionToken`` - value of your AWS session token
324
+ * ``awsKeyId``: value of your AWS access key ID
325
+ * ``awsSecretKey``: value of your AWS secret access key
326
+ * ``atlasUri``: network address of your MongoDB Atlas deployment
327
+ * ``hostname``: hostname of your MongoDB Atlas deployment
328
+ * ``port``: port of your MongoDB Atlas deployment
329
+ * ``awsSessionToken``: value of your AWS session token
330
330
331
331
.. _kotlin-mongodb-aws-sdk:
332
332
0 commit comments