1MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3) libmongocMONGOC_AUTO_ENCRYPTION_OPTS_NEW(3)
2
3
4
6 mongoc_auto_encryption_opts_new - mongoc_auto_encryption_opts_new()
7
9 mongoc_auto_encryption_opts_t *
10 mongoc_auto_encryption_opts_new (void);
11
12 Create a new mongoc_auto_encryption_opts_t.
13
14 Caller must set the required options:
15
16 · mongoc_auto_encryption_opts_set_keyvault_namespace()
17
18 · mongoc_auto_encryption_opts_set_kms_providers()
19
20 Caller may set optionally set the following:
21
22 · mongoc_auto_encryption_opts_set_keyvault_client()
23
24 · mongoc_auto_encryption_opts_set_schema_map()
25
26 · mongoc_auto_encryption_opts_set_bypass_auto_encryption()
27
28 · mongoc_auto_encryption_opts_set_extra()
29
30 This options struct is used to enable auto encryption with mon‐
31 goc_client_enable_auto_encryption().
32
34 A new mongoc_auto_encryption_opts_t, which must be destroyed with mon‐
35 goc_auto_encryption_opts_destroy().
36
38 · mongoc_auto_encryption_opts_destroy()
39
40 · mongoc_client_enable_auto_encryption()
41
42 · The guide for Using Client-Side Field Level Encryption
43
45 MongoDB, Inc
46
48 2017-present, MongoDB, Inc
49
50
51
52
531.16.2 Feb 25, 2020MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3)