[JAVA-4374] Support TLS options for KMS provider connections Created: 25/Oct/21  Updated: 28/Oct/23  Resolved: 09/Nov/21

Status: Closed
Project: Java Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 4.4.0

Type: New Feature Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Epic Link: CSFLE 1.0 KMIP Support
Quarter: FY22Q4
Backwards Compatibility: Fully Compatible
Documentation Changes: Needed

 Description   

This requires exposing

/**
 * Get the KMS provider identifier associated with this KMS request.
 *
 * This is used to conditionally configure TLS connections based on the KMS
 * request. It is useful for KMIP, which authenticates with a client
 * certificate.
 *
 * @param[in] kms The @ref mongocrypt_kms_ctx_t object.
 * @param[out] len Receives the length of the returned string.
 *
 * @returns One of the static strings: "aws", "azure", "gcp", or "kmip".
 */
MONGOCRYPT_EXPORT
const char *
mongocrypt_kms_ctx_get_kms_provider (mongocrypt_kms_ctx_t *kms, uint32_t *len);

through the mongodb-crypt wrapper so that the TLS options can be applied



 Comments   
Comment by Githook User [ 11/Nov/21 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Fix KMS TLS reactive test on JDK 8

JAVA-4374
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4b89f0d9c260a035b7707cb341972e399a21ab96

Comment by Githook User [ 09/Nov/21 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Add SSLContext configuration per KMS provider (#820)

JAVA-4374
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/eada8a28acc0769a2e0ad57327be0fb8bfc52018

Comment by Githook User [ 03/Nov/21 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: New bindings to support KMIP (#210)

JAVA-4374
Branch: master
https://github.com/mongodb/libmongocrypt/commit/c4b2b1ed557d470ab4f3d457a82b81285c1c019e

Generated at Thu Feb 08 09:01:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.