Sign in
Explore
Skills · SkillDevOps & CloudCloud platformsReviewed

azure-identity-java

Azure Identity for Java: DefaultAzureCredential, managed identity, service principals and other Azure authentication patterns.

Kind
Skill
Works with
Claude Code
Languages
Java / Kotlin
Source
microsoft/skills @ 2130750147de
Path
.github/plugins/azure-sdk-java/skills/azure-identity-java/SKILL.md
Jobs
Implementation
Topics
Cloud platforms

Credit

Made by
microsoft
Original
github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/azure-identity-java/ (the skill folder)
  • 1 other file in the folder: references/examples.md
Runs scripts
Yes
  • shell block in the text
  • shell block in the text (references/examples.md)
Uses the network
None found
Needs secrets
Yes
  • AZURE_CLIENT_SECRET
  • AZURE_CLIENT_CERTIFICATE_PASSWORD
Reads environment variables
  • AZURE_CLIENT_SECRET
  • AZURE_CLIENT_CERTIFICATE_PASSWORD
Reads outside the project
  • /var/run/secrets/azure/tokens/azure-identity-token (SKILL.md)
Calls other skills
  • /version
  • /dependency
  • /type
  • /scope
  • /dependencies
Source revision
2130750147de
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Azure Identity library for Java

Authentication library for Azure SDK clients using Microsoft Entra ID.

## Installation

```xml
<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-identity</artifactId>
    <version>1.15.0</version>
</dependency>
```

## Key Concepts

| Credential | Use Case |
|------------|----------|
| `DefaultAzureCredential` | **Recommended** - Works in dev and production |
| `ManagedIdentityCredential` | Azure-hosted apps (App Service, Functions, VMs) |
| `EnvironmentCredential` | CI/CD pipelines with env vars |
| `ClientSecretCredential` | Service principals with secret |
| `ClientCertificateCredential` | Service principals with certificate |
| `AzureCliCredential` | Local dev using `az login` |
| `InteractiveBrowserCredential` | Interactive login flow |
| `DeviceCodeCredential` | Headless device authentication |

## DefaultAzureCredential (Recommended)

The `DefaultAzureCredential` tries multiple authentication methods in order. See [DefaultAzureCredential overview](https://aka.ms/azsdk/java/identity/credential-chains#defaultazurecredential-overview) for the current credential chain order and defaults.

```java
…