We currently set AADSecurePrincipalSecret to HikariConfig via setDataSourceProperties(). We are working on a feature to automatically refresh the connection with new secret post secret rotation every few days as per our organization policy, without restarting the application.
So is there a way to provide new AADSecurePrincipalSecret on already created HikariDataSource? If it's not currently supported, is it feasible implement ?
We currently set
AADSecurePrincipalSecret
toHikariConfig
viasetDataSourceProperties()
. We are working on a feature to automatically refresh the connection with new secret post secret rotation every few days as per our organization policy, without restarting the application.So is there a way to provide new
AADSecurePrincipalSecret
on already createdHikariDataSource
? If it's not currently supported, is it feasible implement ?