Storing credentials in plain text within application.properties or pom.xml is a significant security risk. The provides:
Decrypts values at runtime so your application can use them without manual intervention. download jasypt-maven-plugin
com.github.ulisesbocchio jasypt-spring-boot-starter 3.0.5 Use code with caution. Note: Check for the latest version on mvnrepository . 2. Configure the Plugin Storing credentials in plain text within application