File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -386,20 +386,11 @@ Authentication Options
386
386
387
387
.. option:: --authenticationMechanism <name>
388
388
389
- *Default*: SCRAM-SHA-1
390
-
391
389
Specifies the authentication mechanism the |mdb-shell| uses to
392
- authenticate to the :binary:`~bin.mongod` or :binary:`~bin.mongos`.
393
-
394
- .. note::
395
-
396
- Starting in version 4.0:
397
-
398
- - MongoDB removes support for the deprecated MongoDB
399
- Challenge-Response (``MONGODB-CR``) authentication mechanism.
400
-
401
- - MongoDB adds support for SCRAM mechanism using the SHA-256 hash
402
- function (``SCRAM-SHA-256``).
390
+ authenticate to the :binary:`~bin.mongod` or :binary:`~bin.mongos`.
391
+ If you don't specify an ``authenticationMechanism`` but provide user
392
+ credentials, the MongoDB Shell and drivers attempt to use
393
+ SCRAM-SHA-256. If this fails, they fall back to SCRAM-SHA-1.
403
394
404
395
.. list-table::
405
396
:header-rows: 1
You can’t perform that action at this time.
0 commit comments