---
title: "Azure Key Vault Keys (Java): review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/microsoft-azure-security-keyvault-keys-java/
description: "Microsoft's Java guide to com.azure:azure-security-keyvault-keys: creating RSA, EC and Managed HSM symmetric keys, importing key material, rotating by policy, and encrypting, signing and wrapping through CryptographyClient."
---

# Azure Key Vault Keys (Java): review, setup & limitations · Undominated.ai

> Microsoft's Java guide to com.azure:azure-security-keyvault-keys: creating RSA, EC and Managed HSM symmetric keys, importing key material, rotating by policy, and encrypting, signing and wrapping through CryptographyClient.

[← Explore all skills](/skills/)

CLOUD DEVELOPMENT / Microsoft

# Azure Key Vault Keys (Java)

Microsoft's Java guide to com.azure:azure-security-keyvault-keys: creating RSA, EC and Managed HSM symmetric keys, importing key material, rotating by policy, and encrypting, signing and wrapping through CryptographyClient.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/microsoft/skills/tree/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/skills/azure-security-keyvault-keys-java)

SOURCE REVIEW

 Reviewed 2026-10-21
 Evidence 6 linked sources
 Publisher Microsoft
 Licence [MIT ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE)
 Revision fc164ba1d7a0
 [Read what was—and wasn’t—checked ↓](#review)

“Azure Key Vault Keys Java SDK for cryptographic key management. Use when creating, managing, or using RSA/EC keys, performing encrypt/decrypt/sign/verify operations, or working with HSM-backed keys.”

 [Microsoft · upstream description ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/skills/azure-security-keyvault-keys-java/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - It builds sync, async and cryptography clients and creates RSA keys of 2048 and 4096 bits, EC keys on P-256, P-384 and P-521, HSM-backed variants, and a symmetric key marked Managed HSM only.
- It covers importing existing RSA key material as a JsonWebKey, backup and restore, and a rotation policy that rotates 30 days before a 90-day expiry.
- It tabulates encryption and signature algorithms by key type, marking RSA_OAEP as recommended.

### A good fit for

 - Create an HSM-backed RSA or EC key in Key Vault from Java
- Import existing RSA key material into Key Vault as a JsonWebKey
- Wrap a locally generated 256-bit AES key with RSA_OAEP and unwrap it again
- Put a rotation policy on a Key Vault key from Java and read it back

### Weigh up before choosing

 - Both install lines Microsoft prints for this skill, `npx skills add microsoft/skills --skill azure-sdk-java` and `/plugin install azure-sdk-java@skills`, install the whole azure-sdk-java plugin rather than the Key Vault keys skill alone.
- The Delete Key block runs purgeDeletedKey (commented "permanent deletion") and then beginRecoverDeletedKey on the same key, with no confirmation step.
- The backup sample writes the key backup to key-backup.blob on local disk.
- The import sample assembles the JsonWebKey, private exponent included, in application code; the file does not say where that key material comes from.
- Practice 5 recommends CryptographyClient with local key material to reduce round-trips, but no sample shows it.
- The Maven dependency pins version 4.9.0; this review did not compare later releases. references/examples.md sits beside SKILL.md, unlinked, and was not opened.
- The azure-security-keyvault-keys-java directory was last changed at the pin by commit e7ee58fc, committed 2026-04-29.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - .github/plugins/azure-sdk-java/skills/azure-security-keyvault-keys-java/SKILL.md (all 378 lines)
- .github/plugins/azure-sdk-java/README.md
- .github/plugins/azure-sdk-java/.claude-plugin/plugin.json
- README.md
- LICENSE

### Our findings

 - Client creation uses DefaultAzureCredentialBuilder().requireEnvVars(AzureIdentityEnvVars.AZURE_TOKEN_CREDENTIALS), but the encrypt sample builds its CryptographyClient with a plain DefaultAzureCredentialBuilder().build().
- The Key Types table lists RSA (2048, 3072, 4096 bits), RSA_HSM, EC, EC_HSM, OCT (Managed HSM only) and OCT_HSM.
- The practice list asks for HSM keys in production, soft delete, automatic rotation policies and separate keys for different operations.
- AZURE_KEYVAULT_URL is marked required; AZURE_TOKEN_CREDENTIALS is marked required only if DefaultAzureCredential is used in production.
- The frontmatter declares license MIT, author Microsoft, version 1.0.0 and package com.azure:azure-security-keyvault-keys. It declares no allowed-tools.

### Not established by this review

 - No key was created, imported, rotated, deleted, purged, recovered or used for a cryptographic operation.
- No Maven dependency on com.azure:azure-security-keyvault-keys was added to a project.
- Neither the azure-sdk-java plugin nor azure-security-keyvault-keys-java was installed, and references/examples.md was not read.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/README.md)
 - The azure-sdk-java plugin README prints `npx skills add microsoft/skills --skill azure-sdk-java` under Install. It installs the whole azure-sdk-java plugin, whose skill table lists azure-security-keyvault-keys-java; it does not install that skill alone.
- The same README prints `/plugin install azure-sdk-java@skills`, which also brings in azure-security-keyvault-keys-java together with every other skill in the plugin. The repository README runs plugin commands inside Copilot CLI after `/plugin marketplace add microsoft/skills`.

### Before you start

 - The skill gives a Maven <dependency> on com.azure:azure-security-keyvault-keys version 4.9.0, not an install command. This review added nothing.
- A Key Vault or Managed HSM at AZURE_KEYVAULT_URL, and AZURE_TOKEN_CREDENTIALS when DefaultAzureCredential is used in production.
- Copilot CLI, where `/plugin install azure-sdk-java@skills` adds this Key Vault keys skill with the rest of the plugin.

### Compatibility

Copilot CLI · GitHub Copilot in VS Code

### Implementation

Java

### Reference text; Key Vault key operations in Java happen only when an operator runs the samples

 - The azure-security-keyvault-keys-java frontmatter declares no allowed-tools; its directory holds SKILL.md and references/examples.md, and no scripts.
- Samples authenticate with DefaultAzureCredential and call https://<vault-name>.vault.azure.net.
- Run as written, they create, update and disable, rotate, import, delete, purge, recover, back up and restore keys.
- The backup sample writes key-backup.blob to local disk and reads it back for the restore.

### Cost model

Free to copy under MIT. The file states no price for Key Vault or Managed HSM key operations, and this review looked none up.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [azure-security-keyvault-keys-java SKILL.md at the pin ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/skills/azure-security-keyvault-keys-java/SKILL.md) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/skills/azure-security-keyvault-keys-java/SKILL.md Supports: name, upstreamDescription, summary, whySelected, bestFor, limitations, review.findings, install.prerequisites, access.permissions
- [azure-sdk-java plugin README ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/README.md) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/README.md Supports: install.sourceUrl, install.steps, limitations (install scope)
- [azure-sdk-java plugin.json ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/.claude-plugin/plugin.json) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/.claude-plugin/plugin.json Supports: publisher, license (plugin licence field)
- [Repository README ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/README.md) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/README.md Supports: compatibility, install.steps (Copilot CLI plugin commands)
- [Repository LICENSE ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE Supports: license
- [Commit e7ee58fc, the last change to azure-security-keyvault-keys-java at the pin ↗](https://github.com/microsoft/skills/commit/e7ee58fc1fa669841e06f8d27359e0533d148394) Checked 2026-10-21 https://github.com/microsoft/skills/commit/e7ee58fc1fa669841e06f8d27359e0533d148394 Supports: limitations (last commit date)

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Azure Key Vault Keys SDK for .NET ↗ Microsoft's .NET guide to Azure.Security.KeyVault.Keys: creating RSA, EC and symmetric keys in Key Vault or Managed HSM, rotating them by policy, and running encrypt, wrap and sign operations through CryptographyClient.](/skills/microsoft-azure-security-keyvault-keys-dotnet/)[### Azure Key Vault Keys SDK for TypeScript ↗ Microsoft's TypeScript guide to @azure/keyvault-keys for creating, rotating and deleting Key Vault keys and for encrypt, sign and wrap operations through CryptographyClient; the same file also carries secret operations.](/skills/microsoft-azure-keyvault-keys-ts/)[### Azure Key Vault Certificates library for Rust ↗ Microsoft's Rust guide to azure_security_keyvault_certificates: creating a self-signed X.509 certificate as a long-running operation, updating, listing and deleting certificates, and signing with a certificate's key through the Key Vault keys crate.](/skills/microsoft-azure-keyvault-certificates-rust/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
