Skip to content

Instantly share code, notes, and snippets.

@madan712
Created June 29, 2019 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madan712/c639efcef4dfa3965d178e32827634b4 to your computer and use it in GitHub Desktop.
Save madan712/c639efcef4dfa3965d178e32827634b4 to your computer and use it in GitHub Desktop.
Spring Boot + Jasypt example to encrypted database password in property file
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