mongoc_auto_encryption_opts_set_extra()¶
Synopsis¶
void
mongoc_auto_encryption_opts_set_extra (mongoc_auto_encryption_opts_t *opts,
                                       const bson_t *extra);
Parameters¶
- opts: The mongoc_auto_encryption_opts_t
- extra: A- bson_tof additional options.
extra is a bson_t containing any of the following optional fields:
- mongocryptdURIset to a URI to connect to the mongocryptd process (default is “mongodb://localhost:27027”).
- mongocryptdBypassSpawnset to true to prevent the driver from spawning the mongocryptd process (default behavior is to spawn).
- mongocryptdSpawnPathset to a path (with trailing slash) to search for mongocryptd (defaults to empty string and uses default system paths).
- mongocryptdSpawnArgsset to an array of string arguments to pass to- mongocryptdwhen spawning (defaults to- [ "--idleShutdownTimeoutSecs=60" ]).
For more information, see the Client-Side Encryption specification.
See also
The guide for Using Client-Side Field Level Encryption