1MONGOC_AUTO_ENCRYPTION_OPTS_SETM_OKNMGSO_lCPi_RbAOmUVoTInODg_EoERcNSC(R3Y)PTION_OPTS_SET_KMS_PROVIDERS(3)
2
3
4

NAME

6       mongoc_auto_encryption_opts_set_kms_providers   -   mongoc_auto_encryp‐
7       tion_opts_set_kms_providers()
8

SYNOPSIS

10          void
11          mongoc_auto_encryption_opts_set_kms_providers (
12             mongoc_auto_encryption_opts_t *opts, const bson_t *kms_providers);
13

PARAMETERS

15opts: The mongoc_auto_encryption_opts_t
16
17kms_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

38mongoc_client_enable_auto_encryption()
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.6                        MONJGuOnC_0A3U,TO2_0E2N1CRYPTION_OPTS_SET_KMS_PROVIDERS(3)
Impressum