You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// From here on, the client will be encrypting / decrypting automatically
188
207
```
@@ -243,8 +262,11 @@ Configuration options for a automatic client encryption.
243
262
|[mongocryptdBypassSpawn]| <code>boolean</code> | <code>false</code> | If true, autoEncryption will not attempt to spawn a mongocryptd before connecting |
244
263
|[mongocryptdSpawnPath]| <code>string</code> || The path to the mongocryptd executable on the system |
245
264
|[mongocryptdSpawnArgs]| <code>Array.<string></code> || Command line arguments to use when auto-spawning a mongocryptd |
265
+
|[cryptSharedLibPath]| <code>string</code> || Full path to a MongoDB Crypt shared library on the system. If specified, autoEncryption will not attempt to spawn a mongocryptd, but makes use of the shared library file specified. Note that the path must point to the shared libary file itself, not the folder which contains it \*|
266
+
|[cryptSharedLibRequired]| <code>boolean</code> || If true, never use mongocryptd and fail when the MongoDB Crypt shared libary cannot be loaded. Defaults to true if [cryptSharedLibPath] is specified and false otherwise \*|
* @property {string} [mongocryptdURI] A local process the driver communicates with to determine how to encrypt values in a command. Defaults to "mongodb://%2Fvar%2Fmongocryptd.sock" if domain sockets are available or "mongodb://localhost:27020" otherwise
32
33
* @property {boolean} [mongocryptdBypassSpawn=false] If true, autoEncryption will not attempt to spawn a mongocryptd before connecting
33
34
* @property {string} [mongocryptdSpawnPath] The path to the mongocryptd executable on the system
34
35
* @property {string[]} [mongocryptdSpawnArgs] Command line arguments to use when auto-spawning a mongocryptd
36
+
* @property {string} [cryptSharedLibPath] Full path to a MongoDB Crypt shared library on the system. If specified, autoEncryption will not attempt to spawn a mongocryptd, but makes use of the shared library file specified. Note that the path must point to the shared libary file itself, not the folder which contains it \*
37
+
* @property {boolean} [cryptSharedLibRequired] If true, never use mongocryptd and fail when the MongoDB Crypt shared libary cannot be loaded. Defaults to true if [cryptSharedLibPath] is specified and false otherwise \*
35
38
*/
36
39
37
40
/**
@@ -74,8 +77,8 @@ module.exports = function (modules) {
74
77
* @param {MongoClient} client The client autoEncryption is enabled on
0 commit comments