azure-identity-ts
Handles authentication to Azure services in TypeScript/JavaScript applications using the @azure/identity package.
Setup & Installation
What This Skill Does
Handles authentication to Azure services in TypeScript/JavaScript applications using the @azure/identity package. Supports multiple credential types: managed identity, service principals with secrets or certificates, interactive browser login, device code flow, and developer credentials like Azure CLI. Works across environments from local development to production Kubernetes workloads.
DefaultAzureCredential automatically handles the credential chain across dev and prod environments, removing the need to write environment-specific authentication logic or manage token refresh manually.
When to use it
- Authenticating an Azure Functions app to Blob Storage without storing secrets
- Switching between local CLI credentials and managed identity without changing application code
- Configuring a Kubernetes pod to access Azure Key Vault using workload identity federation
- Setting up a CI/CD pipeline to call Azure APIs using a service principal certificate
- Building a desktop tool that authenticates users through an interactive browser popup
Similar Skills
best-practices
A checklist of modern web development standards covering HTTPS, CSP headers, input sanitization, deprecated API avoidance, and HTML validity.
auth0-android
Adds authentication to native Android apps using the Auth0 SDK.
auth0-angular
Adds authentication to Angular apps using the @auth0/auth0-angular SDK.
auth0-aspnetcore-api
Adds JWT access token validation to ASP.
