Skip to content
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

Feature: JDBC driver for postgresql #126

Open
jack1902 opened this issue Dec 18, 2024 · 0 comments
Open

Feature: JDBC driver for postgresql #126

jack1902 opened this issue Dec 18, 2024 · 0 comments

Comments

@jack1902
Copy link

When using AWS, it is possible to use the AWS JDBC Driver for PostgreSQL which significantly simplifies connecting to a database from an application using IAM authentication.

It would be amazing to have something similar within azure, such that I can specify the driver and any parameters within the JDBC connection string to empower database access.

Generally, I connect as the admin within migration scripts to configure additional roles and permissions within the database. Connecting as the additional roles which map to workload-indentities within AKS is slightly painful currently as the application needs to be aware of the PostgreSQL endpoint of Azure such that it can:

  • create an access token from the given identity-token
  • refresh the token before it expires (ensures any new connections being opened within the long-running app work)

Having the ability to abstract this logic into a driver feels right, as the application is unaware of the implementation details around authentication to PostgreSQL besides a driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant