How can we connect on-prem java application to Azure Database for PostgreSQL - Flexible Server using access token( managed identity or entra id)

Kanhaiya Sharma 20 Reputation points
2025-03-12T11:38:21.4933333+00:00

i have a Azure Database for PostgreSQL - Flexible Server.

my azure webapp connects to database using system assigned managed identity.

how can we connect one of my on prem java application to database using managed identity or entra id?

How the authentication will work? As if application is azure web app we assign identity to our database. but how will we assign identity for on prem application to database?

Azure Database for PostgreSQL
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.