Drivers

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Allow custom service names with mongodb+srv URI scheme

    We are using DCOS (marathon/mesos) to manage our services. DCOS generates SRV records for our mongos instances under a record that looks like

    mongos-mongodb.tcp.marathon.mesos
    However, there's currently no way for me to use this because when I provide a connection url like

    mongodb+srv://mongos-mongodb.tcp.marathon.mesos
    the drivers prepend "mongodb.tcp" to the provided url. It's not clear why it's required that the host must start with "mongodb.tcp". Why not let the user specify the actual DNS entry to query?

    I believe the same issue will exist for multiple orchestration frameworks such as Consul/Nomad and Kubernetes.

    5 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    under review  ·  0 comments  ·  Unspecified  ·  Flag idea as inappropriate…  ·  Admin →
  2. 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.html

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    under review  ·  1 comment  ·  Java  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base