1MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3) libmongocMONGOC_AUTO_ENCRYPTION_OPTS_NEW(3)
2
3
4
6 mongoc_auto_encryption_opts_t *
7 mongoc_auto_encryption_opts_new (void) BSON_GNUC_WARN_UNUSED_RESULT;
8
9 Create a new mongoc_auto_encryption_opts_t.
10
11 Caller must set the required options:
12
13 • mongoc_auto_encryption_opts_set_keyvault_namespace()
14
15 • mongoc_auto_encryption_opts_set_kms_providers()
16
17 Caller may set optionally set the following:
18
19 • mongoc_auto_encryption_opts_set_keyvault_client()
20
21 • mongoc_auto_encryption_opts_set_schema_map()
22
23 • mongoc_auto_encryption_opts_set_bypass_auto_encryption()
24
25 • mongoc_auto_encryption_opts_set_extra()
26
27 This options struct is used to enable auto encryption with
28 mongoc_client_enable_auto_encryption().
29
31 A new mongoc_auto_encryption_opts_t, which must be destroyed with
32 mongoc_auto_encryption_opts_destroy().
33
34 SEE ALSO:
35 mongoc_auto_encryption_opts_destroy()
36
37 mongoc_client_enable_auto_encryption()
38
39 In-Use Encryption
40
41
43 MongoDB, Inc
44
46 2017-present, MongoDB, Inc
47
48
49
50
511.25.1 Nov 08, 2023MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3)