With managed identity support in the Azure AI extension on Azure Database for PostgreSQL – Flexible Server, you no longer need to store secrets (access tokens) to your Azure OpenAI, Azure AI Services, and Azure Machine Learning services within the PostgreSQL database itself. This change simplifies access management, removes the need for secret rotation and prevents accidental secret exposure in your environment.