How to use AWS secret manager(secret name) in gradle for liquibase deployment.
Instead using url, username and password as shown below, i would like to use AWS secret name for RDS db connection
I am looking for two options either through Jenkins AWS secret manager credential plugin or through gradle itself
Could any one please guide me to implement this?
task(‘qa’) << {
println “executing qa”
liquibase {
activities {
main {
changeLogFile changeLog
url ‘jdbc:mysql://rdsendpoint.rds.amazonaws.com’
username ‘admin’
password ‘1234’
}
}
}
}