Skip to content

Commit 8eb2bce

Browse files
committed
DOCSP-24594-Compass-auth-examples
1 parent 6b7f07d commit 8eb2bce

File tree

8 files changed

+45
-1
lines changed

8 files changed

+45
-1
lines changed

source/connect/advanced-connection-options/advanced-connection.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ Procedure
7878
read preference option.
7979
- Any specified tag sets.
8080

81+
For example, the following screenshot shows the :guilabel:`New
82+
Connection` modal configured with the read preference of :guilabel:`Secondary
83+
Preferred`.
84+
85+
.. figure:: /images/authentication/secondary-preferred.png
86+
:figwidth: 662px
87+
:alt: Screenshot of Compass configured to connect with read preference of secondary preferred
88+
8189
.. seealso::
8290

8391
- :manual:`Read Preferrence </core/read-preference/#read-preference>`.

source/connect/advanced-connection-options/authentication-connection.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,15 @@ Procedure
270270

271271
.. step:: Click Connect.
272272

273+
The following screenshot shows the :guilabel:`Authentication` tab
274+
configured for username and password authentication with
275+
SCRAM-SHA-256.
276+
277+
.. figure:: /images/authentication/new-atlas-connection.png
278+
:figwidth: 662px
279+
:alt: Screenshot of Compass configured to authenticate with username and password
280+
281+
273282
.. seealso::
274283

275284
To disconnect from your deployment, see :ref:`<disconnect-tab>`.

source/connect/advanced-connection-options/general-connection.txt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,20 @@ Procedure
5252
* - mongodb
5353
- :manual:`Standard Connection String Format </reference/connection-string/>`.
5454
The standard format of the MongoDB connection URI is used to
55-
connect to a MongoDB deployment by specifying its hosts directly.
55+
connect to a MongoDB deployment by specifying its hosts
56+
directly.
57+
58+
Use this option to connect to standalone, replica set,
59+
or a sharded cluster
60+
61+
.. note::
62+
63+
If you use the Standard Connection String Format to
64+
connect to an `Atlas
65+
<https://www.mongodb.com/cloud/atlas>`__ deployment,
66+
you must turn on TLS/SSL in the
67+
:guilabel:`TLS/SSL` tab of the :guilabel:`New
68+
Connection` modal.
5669

5770
* - mongodb+srv
5871
- :manual:`DNS Seed List Connection Format
@@ -90,6 +103,13 @@ Procedure
90103

91104
.. step:: Click Connect.
92105

106+
For example, the following screenshot shows the :guilabel:`New
107+
Connection` modal configured for an Atlas cluster.
108+
109+
.. figure:: /images/authentication/new-atlas-connection.png
110+
:figwidth: 662px
111+
:alt: Screenshot of Compass configured to connect to an example Atlas cluster
112+
93113
.. seealso::
94114

95115
To disconnect from your deployment, see :ref:`<disconnect-tab>`.

source/connect/advanced-connection-options/tls-ssl-connection.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ Procedure
111111

112112
.. step:: Click Connect.
113113

114+
For example, the following screenshot shows the :guilabel:`New
115+
Connection` modal configured for a cluster with TLS/SSL enabled.
116+
117+
.. figure:: /images/authentication/tls-ssl-configuration.png
118+
:figwidth: 662px
119+
:alt: Screenshot of Compass configured to connect to an example cluster with TLS/SSL
120+
114121
.. seealso::
115122

116123
To disconnect from your deployment, see :ref:`<disconnect-tab>`.
128 KB
Loading
49.1 KB
Loading
134 KB
Loading
130 KB
Loading

0 commit comments

Comments
 (0)