@@ -116,6 +116,10 @@ Mongoid Configuration Options
116
116
The following annotated example ``mongoid.yml`` demonstrates how Mongoid
117
117
can be configured.
118
118
119
+ Mongoid delegates to the Ruby driver for client configuration. Please review
120
+ `the driver documentation <https://docs.mongodb.com/ruby-driver/current/reference/create-client/>`_
121
+ for details on driver options.
122
+
119
123
.. code-block:: yaml
120
124
121
125
development:
@@ -163,9 +167,11 @@ can be configured.
163
167
roles:
164
168
- 'dbOwner'
165
169
166
- # Change the default authentication mechanism. Valid options are: :scram,
167
- # :mongodb_cr, :mongodb_x509, and :plain. (default on 3.0 is :scram, default
168
- # on 2.4 and 2.6 is :plain)
170
+ # Change the default authentication mechanism. Please see the
171
+ # driver documentation linked above for details on how to configure
172
+ # authentication. Valid options are :aws, :gssapi, :mongodb_cr,
173
+ # :mongodb_x509, :plain, :scram and :scram256 (default on 3.0
174
+ # and higher servers is :scram, default on 2.6 servers is :plain)
169
175
auth_mech: :scram
170
176
171
177
# Specify the auth source, i.e. the database or other source which
@@ -296,9 +302,6 @@ can be configured.
296
302
# (default: false)
297
303
use_utc: false
298
304
299
- The Ruby driver options may be found in
300
- `the driver documentation <https://docs.mongodb.com/ruby-driver/current/reference/create-client/>`_.
301
-
302
305
ERb Preprocessing
303
306
=================
304
307
0 commit comments