@@ -21,13 +21,13 @@ content: |
21
21
requires a valid Tenant ID, Client ID, and Client Secret.
22
22
23
23
In ``mongosh``, create a new
24
- :ref:`ClientSideFieldLevelEncryptionOptions ` variable for storing the
24
+ :ref:`autoEncryptionOpts ` variable for storing the
25
25
client-side field level encryption configuration, which contains these
26
26
credentials:
27
27
28
28
.. code-block:: javascript
29
29
30
- var ClientSideFieldLevelEncryptionOptions = {
30
+ var autoEncryptionOpts = {
31
31
"keyVaultNamespace" : "encryption.__dataKeys",
32
32
"kmsProviders" : {
33
33
"azure" : {
@@ -49,15 +49,15 @@ content: |
49
49
50
50
In ``mongosh``, use the :method:`Mongo()<Mongo()>` constructor to
51
51
establish a database connection to the target cluster. Specify the
52
- :ref:`ClientSideFieldLevelEncryptionOptions ` document as the second
52
+ :ref:`autoEncryptionOpts ` document as the second
53
53
parameter to the :method:`Mongo()<Mongo()>` constructor to configure
54
54
the connection for client-side field level encryption:
55
55
56
56
.. code-block:: javascript
57
57
58
58
csfleDatabaseConnection = Mongo(
59
59
"mongodb://replaceMe.example.net:27017/?replicaSet=myMongoCluster",
60
- ClientSideFieldLevelEncryptionOptions
60
+ autoEncryptionOpts
61
61
)
62
62
63
63
Replace the ``replaceMe.example.net`` :ref:`URI <mongodb-uri>` with
0 commit comments