title: How to access the credentials in Kubernetes for MongoDB with Java?
body: <p>I am working on Java <strong>Springboot</strong> with <strong>MongoDB</strong> using <strong>Kubernetes</strong>. Currently I just hard coded the URI in application properties and I would like to know </p>
  
  <p>how can I access to the MongoDB credentials on Kubernetes with Java? </p>