Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Azure Identity

Credential implementations for Azure SDK to authenticate with Microsoft Entra ID.

Auth and security libraries npm MIT

Used in agent projects
25
0.2% of 12,697 public repos built with AI coding agents
Rank in auth and security libraries
#40 of 47
by use in those projects
Downloads
16.5M
npm, last 7 days, @azure/identity
GitHub stars
2,301
last push Oct 10, 2026

How Azure Identity is used

Azure Identity is a dependency in 25 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #40 of 47 in auth and security libraries. The most used alternative there is NextAuth.js. Projects that use it most often also use tsx (52.0%), Model Context Protocol SDK (JavaScript) (48.0%), dotenv (52.0%).

Often used with Azure Identity

tsx52.0% of Azure Identity projects · 5.2× more than average
Model Context Protocol SDK (JavaScript)48.0% of Azure Identity projects · 10.1× more than average
dotenv52.0% of Azure Identity projects · 3.3× more than average
Zod52.0% of Azure Identity projects · 3.1× more than average
Express40.0% of Azure Identity projects · 6.2× more than average
OpenAI40.0% of Azure Identity projects · 14.0× more than average
Vitest44.0% of Azure Identity projects · 3.6× more than average
TypeScript92.0% of Azure Identity projects · 1.6× more than average

By coding agent

GitHub Copilot0.7% of projects set up for it
Claude Code0.4% of projects set up for it

Share of public repos configured for each agent that list Azure Identity as a dependency.

Install

Packagenpm install @azure/identity
Main stacksTypeScript / JavaScript (20), Next.js (3), Python (2)
Example projectsmdrakiburrahman/spark-sandbox, PlagueHO/agent-voice

Alternatives to Azure Identity

All auth and security libraries

Tool Used in agent projectsDownloads / wk GitHub starsLicense
NextAuth.js npm
Complete open-source authentication solution designed for Next.js applications.
266 (2.1%) 6.7M 28.4K ISC
bcryptjs npm
Pure JavaScript bcrypt implementation for secure password hashing without dependencies.
256 (2.0%) 14.7M 3,797 BSD-3-Clause
jsonwebtoken npm
Create, verify and decode JSON Web Tokens for authentication and secure data transmission.
241 (1.9%) 59.3M 18.2K MIT
cryptography pypi
Python library providing cryptographic recipes and primitives for secure applications.
213 (1.7%) 281M 7,803 —
jose npm
Comprehensive JWT and JWK handling for Node.js and web runtimes.
141 (1.1%) 151M 7,824 MIT
PyJWT pypi
Python library for encoding and decoding JSON Web Tokens.
128 (1.0%) 154M 5,714 —
Better Auth npm
Comprehensive authentication framework for TypeScript with multiple strategies.
126 (1.0%) 11.4M 30.2K MIT
Helmet npm
Express middleware that sets HTTP security headers to prevent vulnerabilities.
125 (1.0%) 16.2M 10.7K MIT
Is Azure Identity right for your project? Ask AgentGid →