JAVA-055 / Beginner
Plaintext secrets in configuration files (application.yml)
Why is this a problem?
Once committed, the entire repository history exposes them.
How to fix it
yaml
spring.datasource.password: ${DB_PASSWORD} # Inject through an environment variable or Vault