You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Managed-identity Postgres connections now enforce SSL. The assembled connection string omitted the SslMode keyword, so Npgsql fell back to its Prefer default (silent non-SSL) — which Azure Database for PostgreSQL rejects for AAD / managed-identity users, with no knob to force it. Managed-identity connections now default to SslMode=Require, so AAD auth works out of the box; static-password mode is unchanged (local/bundled non-SSL container still works). A new POSTGRES_SSL_MODE env var (and matching Postgres:SslMode appsettings key) overrides the SSL mode for either auth mode, passed verbatim to Npgsql. See Configuration.