FeatureFuel
0

Support Microsoft Entra authentication for PostgreSQL

Source: twentyhq/twenty#31698 · opened by @mikkelke
Twenty can only sign in to Postgres with a static password in PG_DATABASE_URL. On Azure Database for PostgreSQL Flexible Server many teams turn password auth off and use Entra tokens, for example workload identity on AKS. Tokens expire after about an hour, so each new connection needs a fresh one.

Proposal: an opt-in env variable PG_DATABASE_AUTH_PROVIDER (PASSWORD by default, AZURE_ENTRA). With AZURE_ENTRA the server gets a token from @azure/identity DefaultAzureCredential for each new connection. Nothing changes for the default. Happy to open a PR.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests