title: encrypting mongo password in datasource definition using springboot
body: <p>I'm using spring-boot application which has connection to a Mongo DB. The mongo data-source configured in the <code>application.properties</code> file:</p>
  
  <pre><code>spring.data.mongodb.uri=mongodb://my_user:my_password@mongo_host:37017/mongo_db
  </code></pre>
  
  <p>I would like to encrypt <code>my_password</code> part of the datasource.
  Is there out of the box solution for that?
  Thanks</p>