1MONGOC_AUTO_ENCRYPTION_OPTS_SET_EXTRlAi(b3mM)oOnNgGoOcC_AUTO_ENCRYPTION_OPTS_SET_EXTRA(3)
2
3
4
6 mongoc_auto_encryption_opts_set_extra - mongoc_auto_encryp‐
7 tion_opts_set_extra()
8
10 void
11 mongoc_auto_encryption_opts_set_extra (mongoc_auto_encryption_opts_t *opts,
12 const bson_t *extra);
13
15 • opts: The mongoc_auto_encryption_opts_t
16
17 • extra: A bson_t of additional options.
18
19 extra is a bson_t containing any of the following optional fields:
20
21 • mongocryptdURI set to a URI to connect to the mongocryptd process
22 (default is "mongodb://localhost:27027").
23
24 • mongocryptdBypassSpawn set to true to prevent the driver from spawn‐
25 ing the mongocryptd process (default behavior is to spawn).
26
27 • mongocryptdSpawnPath set to a path (with trailing slash) to search
28 for mongocryptd (defaults to empty string and uses default system
29 paths).
30
31 • mongocryptdSpawnArgs set to an array of string arguments to pass to
32 mongocryptd when spawning (defaults to [ "--idleShutdownTimeout‐
33 Secs=60" ]).
34
35 For more information, see the Client-Side Encryption specification.
36
38 • mongoc_client_enable_auto_encryption()
39
40 • The guide for Using Client-Side Field Level Encryption
41
43 MongoDB, Inc
44
46 2017-present, MongoDB, Inc
47
48
49
50
511.17.6 Jun 03M,ON2G0O2C1_AUTO_ENCRYPTION_OPTS_SET_EXTRA(3)