Skip to content

DOCSP-48716-update-non-mongo-credentials #125

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/connect/connection-targets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ To connect to a MongoDB deployment on Atlas, include the following elements
in your connection string:

- The URL of your Atlas cluster
- Your MongoDB username
- Your MongoDB password
- Your MongoDB database username
- Your MongoDB database password

Then, pass your connection string to the ``MongoClient`` constructor.

Expand Down
6 changes: 3 additions & 3 deletions source/connect/mongoclient.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ A standard connection string includes the following components:
- Required. A prefix that identifies this as a string in the
standard connection format.

* - ``username:password``
* - ``db_username:db_password``

- Optional. Authentication credentials. If you include these, the client
authenticates the user against the database specified in ``authSource``.
authenticates the database user against the database specified in ``authSource``.
For more information about the ``authSource`` connection option,
see :ref:`kotlin-sync-auth`.

Expand All @@ -67,7 +67,7 @@ A standard connection string includes the following components:
* - ``/defaultauthdb``

- Optional. The authentication database to use if the
connection string includes ``username:password@``
connection string includes ``db_username:db_password@``
authentication credentials but not the ``authSource`` option. If you don't include
this component, the client authenticates the user against the ``admin`` database.

Expand Down
Loading