Sriharsha Chintalapani d8f5398efb
Add Azure Token Base Authentication (#18387)
* Add azure token based auth

* Add Azure Token Base Authentication

* Update azure-auth.md

* Update azure-auth.md

* feat: Add `azure-identity-extensions` library for passwordless database connection

---------

Co-authored-by: Ayush Shah <ayush@getcollate.io>
Co-authored-by: Akash-Jain <15995028+akash-jain-10@users.noreply.github.com>
2024-10-24 11:29:46 +02:00

759 B

title slug collate
How to enable Azure Auth /deployment/azure-auth false

AZURE resources on Postgres/MySQL Auth

https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-extensions#how-to-use-postgresql-extensions

Requirements

  1. Azure Postgres or MySQL Cluster with auth enabled
  2. 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.

{% note %}

The DB_USER_PASSWORD is still required and cannot be empty. Set it to a random/dummy string.

{% /note %}