Dev & Engineering ✓ Microsoft · Official azure-key-vaultjava-sdkcryptographic-keysrsaelliptic-curvehsmkey-rotation

Azure Key Vault Keys for Java

Ground Java coding agents in secure Azure Key Vault and Managed HSM key-management workflows.

FollowSkills review · FSRS-2.0
Not recommended
49/ 100 5-point scale 2.5 / 5
Trust14 / 25 · 2.8/5

The documentation identifies DefaultAzureCredential, managed identity, least privilege, HSM use, soft delete, and recovery paths. However, examples for creation, deletion, permanent purge, writing backups to disk, and importing private key material lack user confirmation, permission preflight checks, sensitive-data handling, and recovery verification, so points are deducted.

Reliability7 / 20 · 1.8/5

It covers synchronous and asynchronous clients, major key operations, and some exception handling with intelligible failure categories. However, there are no skill-specific tests or reproducible results, several snippets omit imports, the environment-variable guidance is not fully aligned with hard-coded vault URLs, and edge cases and service/API compatibility are thin; static evidence therefore supports only a middling score.

Adaptability9 / 15 · 3.0/5

The audience, Java SDK scenarios, key types, cryptographic operations, and trigger phrases are fairly clear. Non-fit boundaries, required Azure resources and RBAC prerequisites, input/output constraints, Chinese guidance, and mainland-China network reachability are not stated, so points are deducted.

Convention9 / 15 · 3.0/5

The skill has front matter, MIT licensing, a version, installation notes, organized examples, error handling, best practices, and a references file. It lacks a changelog, explicit maintenance owner/update path, compatibility matrix, FAQ, and known-limitations section, and gives little progressive-loading guidance, so it is usable but incomplete.

Effectiveness6 / 15 · 2.0/5

It provides directly relevant examples for key creation, retrieval, update, deletion/recovery, rotation, import, encryption/decryption, signing/verification, and wrapping operations. Static review cannot verify compilation or execution; several examples are incomplete and production permissions and safety prerequisites are underexplained, so meaningful manual review remains necessary and the score stays within the static ceiling.

Verifiability4 / 10 · 2.0/5

The skill includes a pinned dependency version, concrete dependencies, code samples, and error-handling examples; the repository also shows general CI, evaluation workflows, and harness tests. The supplied material does not show skill-specific committed tests, execution results, or independent corroboration, so evidence remains limited to static documentation.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Permanent purge is irreversible; automation performing purge, deletion, rotation, or permission changes should require explicit confirmation and target validation.
  • Backup and import examples handle key material, but do not specify encrypted storage, access control, lifecycle cleanup, or log redaction.
  • Before use, verify actual azure-security-keyvault-keys and azure-identity compatibility, API signatures, RBAC permissions, and Key Vault versus Managed HSM capability differences.
  • Core functionality depends on Azure Key Vault/Managed HSM and identity services; the supplied material does not establish mainland-China reachability or provide an offline alternative.
See the full review method →

What it does & when to use it

This skill helps Java developers use the Azure Key Vault Keys SDK for cryptographic key management. It covers RSA, elliptic-curve, HSM-backed, and Managed HSM symmetric keys across their lifecycle. It also provides examples for encryption, decryption, signing, verification, key wrapping, backup and restore, import, and rotation. The guidance includes Maven setup, credential and client construction, synchronous and asynchronous access, and exception handling.

Guides an agent to add the Maven dependency, configure DefaultAzureCredential or managed identity, and create KeyClient, KeyAsyncClient, and CryptographyClient instances. It shows how to create, retrieve, update, list, delete, recover, purge, back up, restore, import, and rotate keys; configure rotation policies; and perform encryption, decryption, signing, verification, wrapping, and unwrapping. It also demonstrates handling ResourceNotFoundException and HttpResponseException, plus reading and writing a local backup file.

  1. A Java developer needs to create and manage RSA or EC keys in Azure Key Vault
  2. A security engineer needs HSM-backed keys for sensitive production workloads
  3. An application team needs Azure-hosted encryption, decryption, signing, or signature verification
  4. A platform team needs key rotation, backup, restore, soft-delete, or recovery workflows
  5. A Java project needs to import existing RSA key material into Key Vault

Pros & cons

Pros
  • Covers the key-management lifecycle and core cryptographic operations
  • Includes both synchronous and asynchronous client construction
  • Addresses RSA, EC, HSM, and Managed HSM scenarios
  • Includes rotation, backup and restore, import, and error-handling examples
  • Provides a concrete Maven coordinate and SDK version
Limitations
  • Practical use requires Azure Key Vault or Managed HSM, credentials, and network access
  • The source does not provide complete permission configuration, deployment instructions, or a dedicated test suite for this skill
  • The scope is the Java Key Vault Keys SDK and should not be generalized to sibling skills or other Key Vault services
  • The backup example reads and writes a local file, so secure backup storage remains the adopter’s responsibility

How to install

Install the collection with npx skills add microsoft/skills, then select the required skill in the wizard. Skills are installed into the selected agent directory, such as .github/skills/ for GitHub Copilot. The source does not document a dedicated command for installing only azure-security-keyvault-keys-java. In the Java project, add the Maven dependency com.azure:azure-security-keyvault-keys:4.9.0.

How to use

After installation, give the coding agent a focused request such as: Using the Azure Key Vault Keys Java SDK, create an HSM-protected RSA-2048 key and show encryption and decryption. Other supported trigger wording includes “Key Vault keys Java,” “encrypt decrypt Java,” “sign verify Java,” and “key rotation.” The agent can then follow the included Java patterns for credentials, vault URLs, key identifiers, and SDK operations.

FAQ

Does this skill cover Key Vault secrets or certificates?
No. Its stated scope is the Azure Key Vault Keys Java SDK for cryptographic keys and related operations.
Do I need Azure resources to use the examples?
The examples connect to Azure Key Vault or Managed HSM, so executing those operations requires the corresponding Azure resource, credentials, and network access.
Which key types are covered?
RSA, RSA_HSM, EC, EC_HSM, and OCT/OCT_HSM symmetric keys for Managed HSM are covered.
Does it implement key rotation?
It shows Java calls for rotating a key and creating or retrieving a rotation policy; the resulting behavior depends on the target Azure resource and access configuration.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills