Skip to main content

Module entra

Module entra 

Source
Expand description

Microsoft Entra ID (formerly Azure Active Directory) authentication support for PostgresProvider.

This module exposes EntraAuthOptions — the configuration type passed to ProviderConfig::entra — plus the internal credential abstractions used to fetch and rotate Entra access tokens.

Azure SDK types (azure_core::credentials::TokenCredential, azure_identity::ManagedIdentityCredential, etc.) are intentionally not re-exported. The public surface is just EntraAuthOptions; everything else stays internal so we can adapt to upstream churn without a breaking change.

Structs§

EntraAuthOptions
Configuration for connecting to Azure Database for PostgreSQL using Microsoft Entra ID authentication.

Constants§

DEFAULT_AUDIENCE
The default audience/scope used when requesting Entra ID access tokens for Azure Database for PostgreSQL Flexible Server in the Azure public cloud.