![]() |
![]()
| ![]() |
![]()
SYNOPSISvoid mongoc_client_encryption_opts_set_kms_providers ( PARAMETERS
kms_providers is a BSON document containing configuration for each KMS provider. KMS providers are specified as a string of the form <KMS provider type> or <KMS provider type>:<KMS provider name>. The supported KMS provider types are aws, azure, gcp, local, and kmip. The optional name enables configuring multiple KMS providers with the same KMS provider type (e.g. aws:name1 and aws:name2 can refer to different AWS accounts). At least one KMS provider must be specified. The format for the KMS provider type aws is as follows: aws: { The format for the KMS provider type local is as follows: local: { The format for the KMS provider type azure is as follows: azure: { The format for the KMS provider type gcp is as follows: gcp: { The format for the KMS provider type kmip is as follows: kmip: { KMS providers may include an optional name suffix separate with a colon. This enables configuring multiple KMS providers with the same KMS provider type. Example: "aws:name1": { SEE ALSO: mongoc_client_encryption_new() In-Use Encryption AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|