File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 2525 .. tab:: Gradle
2626 :tabid: gradle-dependency
2727
28- .. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
29-
30- Connection Settings
31- -------------------
32-
33- You can apply encryption settings when creating a ``MongoClient`` instance by
34- passing an `AutoEncryptionSettings
35- <{+core-api+}/AutoEncryptionSettings.html>`__
36- object to the `autoEncryptionSettings()
37- <{+core-api+}/MongoClientSettings.Builder.html#autoEncryptionSettings(com.mongodb.AutoEncryptionSettings)>`__
38- method.
39-
40- .. TODO: Add example
41-
42- .. note::
43-
44- If you omit ``keyVaultClient`` or set ``bypassAutomaticEncryption`` to false
45- in your ``AutoEncryptionSettings``, the driver creates a separate, internal
46- ``MongoClient``. The internal ``MongoClient`` configuration differs from the
47- parent ``MongoClient`` by setting the ``minPoolSize`` to 0 and omitting the ``AutoEncryptionSettings``.
28+ .. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
You can’t perform that action at this time.
0 commit comments