-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flyway Datasource Credentials for issue #24639 #29744
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
*/ | ||
|
||
@ConfigItem | ||
public Optional<String> password = Optional.empty(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The standard user credentials can also be supplied with CredentialsProvider so I believe the Flyway specific user credentials should also be managed the same way as it is done in Agroal
...ns/flyway/runtime/src/main/java/io/quarkus/flyway/runtime/FlywayDataSourceRuntimeConfig.java
Show resolved
Hide resolved
public Optional<String> username = Optional.empty(); | ||
|
||
/** | ||
* Set a password that will Flyway will use to connect to the datasource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Set a password that will Flyway will use to connect to the datasource. | |
* Set a password that Flyway will use to connect to the datasource. |
public Optional<String> password = Optional.empty(); | ||
|
||
/** | ||
* Set a new jdbcurl that will Flyway will use to connect to the datasource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Set a new jdbcurl that will Flyway will use to connect to the datasource. | |
* Set a new jdbcurl that Flyway will use to connect to the datasource. |
configure dedicated db user for database migrations: DML-only user for datasource, but DDL user for migration
Fixes: #24639