title: Best way define important credentials in spring boot
body: <p>When using Spring Boot application we use different <code>application.properties</code> files according to different environments. </p>
  
  <p>We put important credentials like: database configurations, server IPs, admin username/password and so on.</p>
  
  <p>I am worrying about what would happen if someone would obtain our application properties and get all important details.</p>
  
  <p>Is there any good approach to put important credentials somewhere and obtain them in our Spring Boot application based on environment?</p>