By Default, OpenMetadata supports basic authentication when connecting to MySQL/PostgreSQL as Database backend. With Azure, you can enhance the security for configuring Database configurations other the basic authentication mechanism.
This guide will help you setup the application to use passwordless approach for Azure PaaS Databases (preferrably Azure Database for PostgreSQL - Flexible Server and Azure Database for MySQL - Flexible Server).
Azure Kubernetes Service (Enabled with Workload Identity) or Azure VM
OpenMetadata Application Version 1.5.9 and higher
If you are looking to enable Passwordless Database Backend Configuration on Existing OpenMetadata Application hosted using Azure Cloud, you need to create perform the following prerequisites -
Create Managed Identity from Azure Portal
Create a SQL User for Managed Identity in Azure Databases
In the above code snippet, the Database Credentials (Auth Password Kubernetes Secret) is still required and cannot be empty. Set it to dummy / random value.
Install / Upgrade your Helm Release with the following command -