Azure managed-identity authentication for PostgreSQL is available since Phoenix 14.8.0. Use that version or newer before following this guide.
First, ensure Phoenix runs in an environment where a managed identity is available (for example AKS, App Service, or an Azure VM). Azure PostgreSQL must have Microsoft Entra authentication enabled, and the managed identity must be created as a PostgreSQL principal.
Azure managed-identity auth in Phoenix requires azure-identity (for custom Python installs, install with pip install 'arize-phoenix[azure]').
Then, configure Phoenix to use Azure managed identity for PostgreSQL:
Notes:
- Do not set
PHOENIX_POSTGRES_PASSWORDwhenPHOENIX_POSTGRES_USE_AZURE_MANAGED_IDENTITY=true. - You do not need a token-lifetime tuning variable. Phoenix reuses
DefaultAzureCredential, andazure-identityhandles token cache and refresh behavior.

