{
 "kind": "tool",
 "slug": "azure-identity-npm",
 "path": "tools/azure-identity-npm/",
 "name": "Azure Identity",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Credential implementations for Azure SDK to authenticate with Microsoft Entra ID.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @azure/identity"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/Azure/azure-sdk-for-js"
  },
  {
   "label": "Website",
   "href": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/README.md"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/Azure/azure-sdk-for-js"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 24, 2026. ",
   "src": "https://github.com/Azure/azure-sdk-for-js"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "24 projects",
   "status": "info",
   "sub": "#28 of 141 in its category",
   "note": "Dependency in 24 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "5 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Azure Identity does",
   "parts": [
    {
     "t": "prose",
     "text": "Credential implementations for Azure SDK to authenticate with Microsoft Entra ID."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Azure Identity popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "62",
       "of": "/ 100",
       "l": "Gid Score, #898 overall"
      },
      {
       "n": "25.2M",
       "l": "downloads a week, npm"
      },
      {
       "n": "2,301",
       "l": "GitHub stars"
      },
      {
       "n": "24",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Azure Identity is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Azure Identity is a dependency in 24 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #28 of 141 in auth and security libraries.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 74; those are left out of every share on this page.",
      "The most used alternative in our scan is jsonwebtoken (149 projects).",
      "Projects that use it most often also use Model Context Protocol SDK (JavaScript) (54.2%), Express (41.7%), OpenAI (41.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "20 projects, 0.7%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "11 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 54.2% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "OpenAI",
       "path": "tools/openai-npm/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 91.7% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 54.2% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "chalk",
       "path": "tools/chalk/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Azure Identity",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "identity-federation: Use for authorized assessment of federated identity systems including SAML, OIDC, OAuth2 flows, SSO misconfiguration, and token confusion is",
        "identity-work: 当用户发现自己在为立场辩护、看不清现实、或反复立志却改变不了自己时调用。 核心理念: 身份是认知牢笼也是行为杠杆——放下身份才能看清真相(痛苦=真相时刻), 更新自我形象才能替代自律(对外承诺)。 不适用于: 需要专业心理咨询的深层创伤。 Triggers: 立场/身份/自我/看",
        "azure-identity-dotnet: Azure Identity library for .NET. Authentication library for Azure SDK clients using Microsoft Entra ID. Use for DefaultAzureCredential, mana",
        "identity-provider-recon: Organization-grade identity-fabric mapping: tenant/federation fingerprinting and the pre-auth user-ENUMERATION oracle methodology — enumerat",
        "identity-access-management: Set up and manage SSO, SCIM provisioning, and MFA for startup teams using Google Workspace, Okta, or Azure AD. Use when centralizing authent"
       ]
      },
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "NextAuth.js",
         "path": "tools/next-auth/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        },
        {
         "text": "Helmet",
         "path": "tools/helmet/"
        },
        {
         "text": "bcrypt (JavaScript)",
         "path": "tools/bcrypt-npm/"
        },
        {
         "text": "python-jose",
         "path": "tools/python-jose/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Azure Identity",
       "me": true,
       "facts": [
        "MIT",
        "Gid 62",
        "25.2M/wk"
       ]
      },
      {
       "name": "jsonwebtoken",
       "why": "Create, verify and decode JSON Web Tokens for authentication and secure data transmission.",
       "path": "tools/jsonwebtoken/",
       "facts": [
        "MIT",
        "Gid 79",
        "84.5M/wk"
       ]
      },
      {
       "name": "jose",
       "why": "Comprehensive JWT and JWK handling for Node.js and web runtimes.",
       "path": "tools/jose/",
       "facts": [
        "MIT",
        "Gid 75",
        "244M/wk"
       ]
      },
      {
       "name": "Better Auth",
       "why": "Comprehensive authentication framework for TypeScript with multiple strategies.",
       "path": "tools/better-auth/",
       "facts": [
        "MIT",
        "Gid 79",
        "21.1M/wk"
       ]
      },
      {
       "name": "Clerk",
       "why": "Modern authentication and user management SDK for Next.js and React.",
       "path": "tools/clerk/",
       "facts": [
        "MIT",
        "Gid 62",
        "4.1M/wk"
       ]
      },
      {
       "name": "Passport.js",
       "why": "Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.",
       "path": "tools/passport/",
       "facts": [
        "MIT",
        "Gid 69",
        "10.5M/wk"
       ]
      }
     ],
     "more": "Compare Azure Identity with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @azure/identity"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Azure Identity yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @azure/identity"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "61.7"
  ],
  [
   "Rank in category",
   "#28 of 141"
  ],
  [
   "GitHub",
   "Azure/azure-sdk-for-js"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/azure.png"
}