A problem that organizations often encounter is where to store the credentials for connecting to the database. AWS Secrets Manager offers a solution to the problem. Secrets such as usernames and passwords can be stored in the Secrets Manager, and then be accessed via an id known to authorized users. This keeps sensitive credentials out of application configuration.
|Ships with Flyway Command-line||No|
|Maven Central coordinates||
Secrets Manager support is currently provided by the AWS Secrets Manager JDBC Library for the following databases:
To make Flyway pull credentials from the Secrets Manager, you need to perform the following steps:
flyway.driverthen remove this configuration property.
flyway.userconfiguration property to contain the secret id.
Now you can run
info, etc and the credentials will be pulled out of the Secrets Manager.