@@ -25,10 +25,18 @@ data.
25
25
Client-side field level encryption in the .NET/C# driver is currently only supported on x64-compatible CPUs.
26
26
{{% /note %}}
27
27
28
+ ### Automatic client-side encryption
29
+
30
+ The following examples show how to configure automatic encryption for read and write operations.
31
+
32
+ {{% note %}}
33
+ Auto encryption is an ** enterprise** or Atlas only feature.
34
+ {{% /note %}}
35
+
28
36
## mongocryptd configuration
29
37
30
- Client-side field level encryption requires the ` mongocryptd ` daemon / process
31
- to be running. If ` mongocryptd ` isn't running, the driver will atempt to spawn
38
+ Client-side field level automatic encryption requires the ` mongocryptd ` daemon / process
39
+ to be running. If ` mongocryptd ` isn't running, the driver will attempt to spawn
32
40
an instance, utilizing the ` PATH ` environment variable. Alternatively, the path
33
41
to ` mongocryptd ` can be specified by setting ` mongocryptdSpawnPath ` in
34
42
` extraOptions ` . A specific daemon / process URI can also be configured in the
@@ -40,8 +48,6 @@ documentation.
40
48
41
49
## Examples
42
50
43
- ### Automatic client-side encryption
44
-
45
51
The following is a sample app that assumes the ** key** and ** schema** have
46
52
already been created in MongoDB. The example uses a local key, however using AWS
47
53
Key Management Service is also an option. The data in the ` encryptedField ` field
@@ -93,10 +99,6 @@ namespace MongoDB.Driver.Examples
93
99
}
94
100
```
95
101
96
- {{% note %}}
97
- Auto encryption is an ** enterprise** only feature.
98
- {{% /note %}}
99
-
100
102
The following example shows how to configure the ` AutoEncryptionSettings `
101
103
instance to create a new key and how to set the json schema map. The following
102
104
example has been adapted from
0 commit comments