Skip to content

DOCSP-49143 - Remove duplicate H1s #673

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 1 commit into from
Apr 15, 2025
Merged
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
21 changes: 1 addition & 20 deletions source/security/encrypt-fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,4 @@
.. tab:: Gradle
:tabid: gradle-dependency

.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst

Connection Settings
-------------------

You can apply encryption settings when creating a ``MongoClient`` instance by
passing an `AutoEncryptionSettings
<{+core-api+}/AutoEncryptionSettings.html>`__
object to the `autoEncryptionSettings()
<{+core-api+}/MongoClientSettings.Builder.html#autoEncryptionSettings(com.mongodb.AutoEncryptionSettings)>`__
method.

.. TODO: Add example

.. note::

If you omit ``keyVaultClient`` or set ``bypassAutomaticEncryption`` to false
in your ``AutoEncryptionSettings``, the driver creates a separate, internal
``MongoClient``. The internal ``MongoClient`` configuration differs from the
parent ``MongoClient`` by setting the ``minPoolSize`` to 0 and omitting the ``AutoEncryptionSettings``.
.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
Loading