Search code examples
jdbcflywayjtds

Flyway with SQL server integrated security


I'm attempting to use jdbc plus jtds to connect to SQL server and run flyway migrations. Its a requirement that the connection use integrated security. Is this supported in flyway? If I specify integratedsecurity=true and don't specify a username and password I am prompted to enter one when I run the command line flyway migrate suggesting that its ignoring my setting to use integrated security.


Solution

  • Flyway doesn't support it out of the box. It's a known limitation.

    There is a manual workaround explained on the website.