anchor.diff:  You can use the MongoDB client in a native executable.
   
   If you want to use SSL/TLS encryption, you need to add these properties in your `application.properties`:
  +
  +[source,properties]
   ----
   quarkus.mongodb.tls=true
  -quarkus.mongodb.tls-insecure=true #only if TLS certificat cannot be validated
  +quarkus.mongodb.tls-insecure=true # only if TLS certificate cannot be validated
   ----
   
   You can then build a native executable with the usual command `./mvnw package -Pnative`.
  
positive.code: 
  If you need more configuration properties, there is a full list at the end of this guide.
  
  == Running a Mongo Database
  As by default, `MongoClient` is configure to access a local Mongo database on port 27017 (the default MongoDB port), if you have a local running database on this port, there is nothing more to do before being able to test it!
  
  If you want to use Docker to run a Mongo database, you can use the following command to launch one:
  [source,shell]
  ----
  docker run -ti --rm -p 27017:27017 mongo:4.0
  
negative.code: 
  == Conclusion
  
  Accessing a MongoDB database from a MongoDB Client is easy with Quarkus as it provides configuration and native support for it.
  
  == Connection properties
  `quarkus.mongodb.connection-string`:: (e.g. `mongodb://mongo1:27017,mongo2:27017`)
  