Agent skill · software engineering · aiskillstore

azure-identity-ts

Authenticate to Azure services with various credential types.

Why this skill is useful

Provides specific implementation patterns for authenticating to Azure services using various credential types that the AI wouldn't reliably generate on its own.

What it needs

Requires @azure/identity installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Identity SDK for TypeScript Authenticate to Azure services with various credential types. Installation Environment Variables Service Principal (Secret) Service Principal (Certificate) Workload Identity (Kubernetes) DefaultAzureCredential (Recommended) Credential Chain Order: 1. EnvironmentCredential 2. WorkloadIdentityCredential 3. ManagedIdentityCredential 4. VisualStudioCodeCredential 5. AzureCliCredential 6. AzurePowerShellCredential 7. AzureDeveloperCliCredential Managed Identity System-Assigned User-Assigned (by Client ID) User-Assigned (by Resource ID) Service Principal Client Secret Client Certificate Interactive Authentication Browser-Based Login Device Code Flow Custom Credential Chain Developer Credentials Azure CLI Azure Developer CLI Azure PowerShell Sovereign Clouds Bearer Token Provider Key Types Custom Credential Implementation Debugging Best Practices 1. Use DefaultAzureCredential - Works in development (CLI) and production (managed identity) 2. Never hardcode credentials - Use environment variables or managed identity 3. Prefer managed identity - No secrets to manage in production 4. Scope credentials appropriately - Use user-assigned identity for multi-tenant scenarios 5. Handle token refresh - Azure SDK handles this automatically 6. Use ChainedTokenCredential - For custom fallback scenarios When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-identity-ts

View the source on GitHub

Browse the @skills marketplace