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.
“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.”
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.
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.
- 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.
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
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
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 ↗Checked
https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-java/.claude-plugin/plugin.json
Supports: publisher, license (plugin licence field)
- Repository README ↗Checked
https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/README.md
Supports: compatibility, install.steps (Copilot CLI plugin commands)
- Repository LICENSE ↗Checked
https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE
Supports: license
https://github.com/microsoft/skills/commit/e7ee58fc1fa669841e06f8d27359e0533d148394
Supports: limitations (last commit date)