Skip to content

Feature: JDBC driver for postgresql #126

Description

@jack1902

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions