Drivers
3 results found
-
Create Atlas Search helper method for aggregations in java
Java driver doesn’t include a {{search()}} helper method in the Aggregation class, for facilitating Atlas Search queries.
While it's possible to build a custom pipeline which includes a
{ $ search ... }
stage, a dedicated helper method would be convenient.29 votesThis work was completed and released as part of Java driver version 4.7.0 https://jira.mongodb.org/browse/JAVA-4415
-
Provide builders/helpers for all MQL operators
Only a small subset of MQL operators have equivalent convenience wrappers in the Java (reactive) driver.
Many such as $filter, $concatArrays, $first, $cond etc. have to be assembled as BsonDocuments etc leading to error-prone and cumbersome code.5 votes -
For Client Side Field Level Encryption (CSFLE) load IAM credentials for KMS by default
In order to get the mongodb csfle lib to work with AWS KMS we need to set
the following provider details explicitly: accessKeyId and secretAccessKey.It is common and more secure practice for applications to be able to load these automatically.
If we do not supply the accessKeyId and secretAccessKey then the java driver could make an API call to
retrieve temporary credentials from the EC2 instance it is running on.It is explained in detail here:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html4 votesThank you for your enhancement request. We are pleased to announce that we now support AWS IAM roles for KMS access with CSFLE. Please see the "Important" note that provides instructions on using IAM roles for authentication in the AWS KMS tutorial in our MongoDB docs. https://www.mongodb.com/docs/manual/core/csfle/tutorials/aws/aws-automatic/#grant-permissions
- Don't see your idea?