Skills azure-identity-java
๐Ÿ“ฆ

azure-identity-java

Content revision r2 Medium Risk โš™๏ธ External commands๐ŸŒ Network access๐Ÿ“ Filesystem access๐Ÿ”‘ Env variables

Configure Azure Identity Authentication in Java

Java applications need secure authentication across local development, Azure hosting, pipelines, and interactive clients. This skill explains Azure Identity credentials, configuration patterns, and selection guidance.

Supports: Claude Codex Code(CC)
๐Ÿ“Š 69 Adequate

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "azure-identity-java" from https://skillstore.io/skills/sickn33-azure-identity-java.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-identity-java/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "azure-identity-java". Which credential should a Java API on Azure App Service use for Blob Storage?

Expected outcome:

  • Recommendation: use the App Service managed identity through DefaultAzureCredential.
  • Access: assign only the required Blob Storage data role to that identity.
  • Validation: test token acquisition and storage authorization in the deployed environment.

Using "azure-identity-java". Plan migration of an AKS Java service from a client secret to workload identity.

Expected outcome:

  • Create a federated identity relationship for the Kubernetes service account.
  • Grant the identity the minimum Azure roles required by the service.
  • Configure workload identity variables and remove the stored client secret after validation.

Using "azure-identity-java". Help diagnose DefaultAzureCredential failures in local development.

Expected outcome:

  • Confirm Azure CLI login state and selected tenant.
  • Review excluded credential sources and application tenant restrictions.
  • Enable diagnostic logging temporarily, while keeping account identifiers and secrets protected.

Security Audit

Medium Risk
v5 โ€ข 7/23/2026 Open versioned report

All 82 static findings are false positives caused by Markdown syntax, placeholder credentials, and legitimate Azure or loopback URLs. The skill contains no executable scripts, secret values, arbitrary command execution, or prompt injection. One medium semantic issue remains: a token-caching example actually enables account identifier logging and may expose identifiers.

1
Files scanned
377
Lines analyzed
0
Review items
0
False positives ignored

Confirmed security concerns (1)

Medium
Account Identifier Logging Presented as Token Caching
The token caching example enables account identifier logging, and another example encourages logging account information. Copied configurations may expose identifiers in retained logs.
The method name and adjacent comments directly show account identifier logging. The first example incorrectly labels that method as token caching.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-azure-identity-java/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-azure-identity-java/security.svg)](https://skillstore.io/skills/sickn33-azure-identity-java?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-azure-identity-java?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-azure-identity-java/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-azure-identity-java.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). azure-identity-java security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-identity-java/audits/5

BibTeX citation

@techreport{sickn33-sickn33-azure-identity-java-2026, author = {sickn33}, title = {azure-identity-java security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-azure-identity-java/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "azure-identity-java security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-23" url: "https://skillstore.io/skills/sickn33-azure-identity-java/audits/5" identifiers: - type: other value: "skillstore:sickn33-azure-identity-java:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
68
Community
83
Spec Compliance

What You Can Build

Secure an Azure-hosted service

Select managed identity credentials and connect a Java backend to Azure services without stored application secrets.

Configure pipeline authentication

Choose environment or workload identity settings for Java builds that access Azure resources during automated delivery.

Design interactive authentication

Compare browser, device code, and Azure CLI credentials for desktop applications and command-line tools.

Try These Prompts

Choose a credential
My Java application runs in [environment] and accesses [Azure service]. Recommend an Azure Identity credential and explain the selection.
Configure DefaultAzureCredential
Create a Java authentication plan using DefaultAzureCredential for [environment]. Include required setup, allowed credential sources, Azure client integration, and validation steps.
Remove stored client secrets
Review my Java service authentication approach and plan a migration from client secrets to [managed identity or workload identity]. Address permissions and deployment changes.
Design multi-environment authentication
Design Azure Identity authentication for local development, CI/CD, AKS, and production. Define credential precedence, tenant restrictions, sovereign-cloud support, logging controls, and failure handling.

Best Practices

  • Use managed identity or workload identity in Azure-hosted production environments to avoid stored secrets.
  • Grant least privilege and verify tenant, role, endpoint, and redirect configuration for each environment.
  • Disable verbose and account identifier logging after debugging, and never place secrets in code or logs.

Avoid

  • Do not hardcode client secrets, passwords, certificate passwords, or tokens in Java source.
  • Do not use broad DefaultAzureCredential chains in production without reviewing allowed credential sources.
  • Do not enable account identifier or verbose logging in production without privacy and retention controls.

Frequently Asked Questions

Does this skill authenticate to Azure for me?
No. It provides Java guidance and examples. You must configure Azure identities, permissions, endpoints, and runtime settings.
Which credential should most applications start with?
DefaultAzureCredential is useful across environments. Production deployments should restrict its sources or use a specific managed identity credential.
Can I use the examples without Azure CLI?
Yes. Managed identity, workload identity, environment, certificate, browser, and device code credentials support other environments and application types.
Does the skill support sovereign Azure clouds?
Yes. It shows authority host selection for Azure Government and Azure China.
Does the skill store or rotate secrets?
No. Use managed identity when possible or an approved secret manager and rotation process.
Is the listed dependency version always current?
No. The example uses Azure Identity 1.15.0. Verify the latest compatible release and security advisories before adoption.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526

Maintenance freshness

7/26/2026

Usage

7 downloads ยท 74 views

File structure

๐Ÿ“„ SKILL.md

More from sickn33

View all
View all
๐Ÿ“ฆ

alibaba-java-coding-guidelines-skill

82

ๅฎกๆŸฅ Java ไปฃ็ ๆ˜ฏๅฆ็ฌฆๅˆ้˜ฟ้‡Œ่ง„่Œƒ

by ns3154

Java ๅ›ข้˜Ÿ้œ€่ฆ็ปŸไธ€็š„็ผ–็ ่ง„่Œƒๅ’ŒๅฎกๆŸฅๅฃๅพ„ใ€‚ๆœฌ skill ไฝฟ็”จ้˜ฟ้‡Œๅทดๅทด Java ๅผ€ๅ‘ๆ‰‹ๅ†ŒๆŒ‡ๅฏผๅฎกๆŸฅใ€็”Ÿๆˆๅ’Œ้‡ๆž„ใ€‚

Coding & Development View