Skip to content

Commit 015886e

Browse files
committed
first round
1 parent 8bcf76f commit 015886e

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

source/security/authentication.txt

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ authentication mechanisms depending on what your MongoDB server supports:
5252
uses your database username and password, encrypted with the ``SHA-1``
5353
algorithm
5454

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.
5757

5858
The following code snippets show how to use the default authentication mechanism by
5959
using the following placeholders:
6060

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
6666
authentication data. If you omit this parameter, the driver uses the
6767
default value ``admin``.
6868

@@ -123,11 +123,11 @@ algorithm, to authenticate your user.
123123
The following code snippets show how to specify the authentication mechanism by
124124
using the following placeholders:
125125

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
131131
authentication data. If you omit this parameter, the driver uses the
132132
default value ``admin``.
133133

@@ -186,11 +186,11 @@ your user.
186186
The following code snippets show how to specify the authentication mechanism
187187
by using the following placeholders:
188188

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
194194
authentication data. If you omit this parameter, the driver uses the
195195
default value ``admin``.
196196

@@ -247,9 +247,9 @@ the subject name of the client certificate.
247247
The following code snippets show how to specify the authentication mechanism
248248
by using the following placeholders:
249249

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
253253
authentication data. If you omit this parameter, the driver uses the
254254
default value ``admin``.
255255

@@ -321,12 +321,12 @@ provide your AWS IAM credentials in the next sections.
321321

322322
These sections contain code examples that use the following placeholders:
323323

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
330330

331331
.. _kotlin-mongodb-aws-sdk:
332332

source/security/enterprise-auth.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ principal name.
5454
The following code snippets show how to specify the authentication mechanism,
5555
using the following placeholders:
5656

57-
* ``Kerberos principal`` - your URL-encoded principal name, e.g. "username%40REALM.ME"
58-
* ``hostname`` - network address of your MongoDB server, accessible by your client
59-
* ``port`` - port number of your MongoDB server
57+
* ``Kerberos principal``: your URL-encoded principal name, e.g. "username%40REALM.ME"
58+
* ``hostname``: network address of your MongoDB deployment, accessible by your client
59+
* ``port``: port number of your MongoDB deployment
6060

6161
Select the :guilabel:`Connection String` or the :guilabel:`MongoCredential`
6262
tab below for instructions and sample code for specifying this authentication
@@ -253,10 +253,10 @@ parameter to ``PLAIN`` and including your LDAP username and password in the
253253
The following code snippets show how to specify the authentication mechanism,
254254
using the following placeholders:
255255

256-
* ``LDAP username`` - your LDAP username
257-
* ``password`` - your LDAP user's password
258-
* ``hostname`` - network address of your MongoDB server, accessible by your client
259-
* ``port`` - port number of your MongoDB server
256+
* ``LDAP username``: your LDAP username
257+
* ``password``: your LDAP user's password
258+
* ``hostname``: network address of your MongoDB deployment, accessible by your client
259+
* ``port``: port number of your MongoDB deployment
260260

261261
Select the :guilabel:`Connection String` or the :guilabel:`MongoCredential`
262262
tab below for instructions and sample code for specifying this authentication

0 commit comments

Comments
 (0)