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