-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
.. _kotlin-fle: | ||
|
||
.. sharedinclude:: dbx/encrypt-fields.rst | ||
|
||
.. replacement:: driver-specific-content | ||
|
||
.. important:: Compatible Encryption Library Version | ||
|
||
The {+driver-short+} uses the `mongodb-crypt | ||
<https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__ | ||
encryption library for in-use encryption. This driver version | ||
is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}. | ||
|
||
Select from the following :guilabel:`Maven` and | ||
:guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt`` | ||
dependency to your project by using the specified manager: | ||
|
||
.. tabs:: | ||
|
||
.. tab:: Maven | ||
:tabid: maven-dependency | ||
|
||
.. include:: /includes/fundamentals/code-snippets/crypt-maven-versioned.rst | ||
|
||
.. tab:: Gradle | ||
:tabid: gradle-dependency | ||
|
||
.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst |
5 changes: 5 additions & 0 deletions
5
source/includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.. code-block:: groovy | ||
dependencies { | ||
implementation("org.mongodb:mongodb-crypt:{+mongocrypt-version+}") | ||
} |
9 changes: 9 additions & 0 deletions
9
source/includes/fundamentals/code-snippets/crypt-maven-versioned.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. code-block:: xml | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.mongodb</groupId> | ||
<artifactId>mongodb-crypt</artifactId> | ||
<version>{+mongocrypt-version+}</version> | ||
</dependency> | ||
</dependencies> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters