1MONGOC_CLIENT_ENCRYPTION_OPTSM_OSNEGTO_CK_MlCSiL_bIPmERoNOnTVg_IoEDcNECRRSY(P3T)ION_OPTS_SET_KMS_PROVIDERS(3)
2
3
4

NAME

6       mongoc_client_encryption_opts_set_kms_providers - mongoc_client_encryp‐
7       tion_opts_set_kms_providers()
8

SYNOPSIS

10          void
11          mongoc_client_encryption_opts_set_kms_providers (
12             mongoc_client_encryption_opts_t *opts, const bson_t *kms_providers);
13

PARAMETERS

15       · opts: The mongoc_client_encryption_opts_t
16
17       · kms_providers: A bson_t containing configuration for an external  Key
18         Management Service (KMS).
19
20       kms_providers  is a BSON document containing configuration for each KMS
21       provider. Currently aws or local are supported. At least  one  must  be
22       specified.
23
24       The format for "aws" is as follows:
25
26          aws: {
27             accessKeyId: <string>,
28             secretAccessKey: <string>
29          }
30
31       The format for "local" is as follows:
32
33          local: {
34             key: <96 byte BSON binary of subtype 0> // The master key used to encrypt/decrypt data keys.
35          }
36

SEE ALSO

38       · mongoc_client_encryption_new()
39
40       · The guide for Using Client-Side Field Level Encryption
41

AUTHOR

43       MongoDB, Inc
44
46       2017-present, MongoDB, Inc
47
48
49
50
511.17.4                      MONGOFCe_bCL0I4E,NT2_0E2N1CRYPTION_OPTS_SET_KMS_PROVIDERS(3)
Impressum