Back to skills

azure-postgres-ts

infrastructure

Connects Node.js/TypeScript applications to Azure Database for PostgreSQL Flexible Server using the pg (node-postgres) package. Supports both password and Microsoft Entra ID (passwordless) authenticat

Setup & Installation

npx skills add https://github.com/microsoft/azure-postgres-ts --skill azure-postgres-ts
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/azure-postgres-ts
View on GitHub

What This Skill Does

Connects Node.js/TypeScript applications to Azure Database for PostgreSQL Flexible Server using the pg (node-postgres) package. Supports both password and Microsoft Entra ID (passwordless) authentication, connection pooling, transactions, and typed queries. Handling Entra ID token acquisition, SSL requirements, and token expiry refresh for Azure PostgreSQL manually is error-prone; this skill provides working patterns for all three auth scenarios and pool configurations specific to Azure's connection limits.

When to use it

  • Working with azure postgres ts functionality
  • Implementing azure postgres ts features
  • Debugging azure postgres ts related issues