-
Notifications
You must be signed in to change notification settings - Fork 81
DOCSP-24594-Compass-auth-examples #708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
8eb2bce
920f171
3ae93e3
901e4e8
c04f4e8
b5b58e4
7f29522
50e6844
48540de
3fbc615
de6caac
0b680bd
44087c3
4ae08c2
9359bf8
9238a00
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,6 +78,14 @@ Procedure | |
| read preference option. | ||
| - Any specified tag sets. | ||
|
|
||
| The following screenshot shows the :guilabel:`Advanced` | ||
| tab configured with the read preference of :guilabel:`Secondary | ||
| Preferred`. | ||
|
||
|
|
||
| .. figure:: /images/authentication/secondary-preferred.png | ||
|
||
| :figwidth: 662px | ||
| :alt: Screenshot of Compass configured to connect with read preference of secondary preferred | ||
|
|
||
| .. seealso:: | ||
|
|
||
| - :manual:`Read Preferrence </core/read-preference/#read-preference>`. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -266,10 +266,19 @@ Procedure | |
|
|
||
| - (Optional) AWS Session Token | ||
|
|
||
| The following screenshot shows the :guilabel:`Authentication` | ||
|
||
| tab configured for username and password authentication with | ||
| SCRAM-SHA-256. | ||
|
|
||
| .. figure:: /images/authentication/authentication-configuration.png | ||
|
||
| :figwidth: 662px | ||
| :alt: Screenshot of Compass configured to authenticate with username and password | ||
|
|
||
| .. step:: (Optional) For advanced connection configuration options, click the :ref:`Advanced <advanced-connection-tab>` tab. | ||
|
|
||
| .. step:: Click Connect. | ||
|
|
||
|
|
||
|
||
| .. seealso:: | ||
|
|
||
| To disconnect from your deployment, see :ref:`<disconnect-tab>`. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,7 +52,20 @@ Procedure | |
| * - mongodb | ||
| - :manual:`Standard Connection String Format </reference/connection-string/>`. | ||
| The standard format of the MongoDB connection URI is used to | ||
| connect to a MongoDB deployment by specifying its hosts directly. | ||
| connect to a MongoDB deployment by specifying its hosts | ||
| directly. | ||
|
|
||
| Use this option to connect to standalone, replica set, | ||
| or a sharded cluster | ||
|
|
||
| .. note:: | ||
|
|
||
| If you use the Standard Connection String Format to | ||
|
||
| connect to an `Atlas | ||
| <https://www.mongodb.com/cloud/atlas>`__ deployment, | ||
| you must turn on TLS/SSL in the | ||
| :guilabel:`TLS/SSL` tab of the :guilabel:`New | ||
| Connection` modal. | ||
|
|
||
| * - mongodb+srv | ||
| - :manual:`DNS Seed List Connection Format | ||
|
|
@@ -86,6 +99,12 @@ Procedure | |
| of a replica set, your write operations fail because it is not the | ||
| primary member. | ||
|
|
||
| The following screenshot shows the :guilabel:`General` tab | ||
| configured for an Atlas cluster. | ||
|
|
||
| .. figure:: /images/authentication/new-atlas-connection.png | ||
| :alt: Screenshot of Compass configured to connect to an example Atlas cluster | ||
|
|
||
| .. step:: (Optional) For advanced connection configuration options, click the :ref:`Advanced <advanced-connection-tab>` tab. | ||
|
|
||
| .. step:: Click Connect. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might consider moving these new examples under a dedicated "Example" heading after "Procedure". I feel like this might make them slightly easier to find, since they'd be clearly visible in the right-hand page ToC.
I was also thinking that another potential way to organize this content could be to create a new page under "Connect" called "Connection Examples" (or similar), and make these examples into distinct pages. As in the ToC would look something like:
This would be more work content-wise, but I'm wondering if it's worth having these examples on dedicated pages so they can be more easily found by users searching for phrases like "compass connect to Atlas" or "compass connect with LDAP".
I think it could also be fine to keep the structure largely as we have it now with the examples added to the existing pages, and consider a broader restructure in a future effort. Curious what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added an "Example" section for each page because I think it makes sense to keep the examples on the same pages as the procedures.