AZURE resources on Postgres/MySQL Auth
Azure Reference Doc
Requirements
- Azure Postgres or MySQL Cluster with auth enabled
- User on DB Cluster with authentication enabled
How to enable Azure Auth on postgresql
Set the environment variables
DB_PARAMS="azure=true&allowPublicKeyRetrieval=true&sslmode=require&serverTimezone=UTC"
DB_USER_PASSWORD=none
Either through helm (if deployed in kubernetes) or as env vars.
The DB_USER_PASSWORD is still required and cannot be empty. Set it to a random/dummy string.