0

Connecting Azure Kubernetes Service and Azure Database for PostgreSQL using Azure Key Vault .

  • AKS : Cluster is ready
  • Azure Database for PostgreSQL : DB is ready

I would like to know the steps to connect to PostgreSQL DB on existing the AKS cluster using Key Vaults.

Right we are passing DB username and Password, etc details are passing configmap yaml file level.

Now we want to integrate the credentials with azure key vault and use them as part of AKS deployment with PostgreSQL connection.

Please let me know if anyone across the same use case.

Thank you!

Charles Xu
  • 29,862
  • 2
  • 22
  • 39
Raja M
  • 13
  • 1
  • 5

1 Answers1

0

You don't need Keyvault to connect securely to PostgreSQL from AKS (or to most of the other Azure services). You can use managed identity of the cluster. This is much simpler setup than using a Keyvault.

You need to do following steps:

Piizei
  • 1,219
  • 1
  • 8
  • 10