Created
June 29, 2019 15:41
-
-
Save madan712/c639efcef4dfa3965d178e32827634b4 to your computer and use it in GitHub Desktop.
Spring Boot + Jasypt example to encrypted database password in property file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
datasource: | |
driverClassName: com.mysql.cj.jdbc.Driver | |
url: jdbc:mysql://localhost:3306/schema | |
username: user | |
password: ENC(xEOLuBn9FuLgpYl6O8qGwY5MVjr4w2Av) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment