Skip to content

Commit f0bf7b7

Browse files
committed
encrypt fields embeddings
(cherry picked from commit 05b10e4) (cherry picked from commit 4a1c4ef) (cherry picked from commit c1b1e75) (cherry picked from commit 42a834e)
1 parent f6a03d7 commit f0bf7b7

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ kotlin-docs = "https://kotlinlang.org"
2828
package-name-org = "mongodb-org"
2929
api = "https://mongodb.github.io/mongo-java-driver/{+version+}"
3030
stable-api = "Stable API"
31-
mongocrypt-version = "1.7.3"
31+
mongocrypt-version = "{+full-version+}"
3232
nettyVersion = "io.netty:netty-all:4.1.79.Final"
3333
snappyVersion = "org.xerial.snappy:snappy-java:1.1.8.4"
3434
zstdVersion = "com.github.luben:zstd-jni:1.5.5-2"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
.. _kotlin-fle:
22

33
.. sharedinclude:: dbx/encrypt-fields.rst
4+
5+
.. replacement:: driver-specific-content
6+
7+
.. important:: Compatible Encryption Library Version
8+
9+
The {+driver-short+} uses the `mongodb-crypt
10+
<https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__
11+
encryption library for in-use encryption. This driver version
12+
is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}.
13+
14+
Select from the following :guilabel:`Maven` and
15+
:guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt``
16+
dependency to your project by using the specified manager:
17+
18+
.. tabs::
19+
20+
.. tab:: Maven
21+
:tabid: maven-dependency
22+
23+
.. include:: /includes/fundamentals/code-snippets/crypt-maven-versioned.rst
24+
25+
.. tab:: Gradle
26+
:tabid: gradle-dependency
27+
28+
.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. code-block:: groovy
2+
3+
dependencies {
4+
implementation("org.mongodb:mongodb-crypt:{+mongocrypt-version+}")
5+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. code-block:: xml
2+
3+
<dependencies>
4+
<dependency>
5+
<groupId>org.mongodb</groupId>
6+
<artifactId>mongodb-crypt</artifactId>
7+
<version>{+mongocrypt-version+}</version>
8+
</dependency>
9+
</dependencies>

0 commit comments

Comments
 (0)