---
title: "Azure Key Vault Keys SDK for TypeScript: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/microsoft-azure-keyvault-keys-ts/
description: "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."
---

# Azure Key Vault Keys SDK for TypeScript: review, setup & limitations · Undominated.ai

> 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.

[← Explore all skills](/skills/)

CLOUD DEVELOPMENT / Microsoft

# 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.

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

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)

“Manage cryptographic keys using Azure Key Vault Keys SDK for JavaScript (@azure/keyvault-keys). Use when creating, encrypting/decrypting, signing, or rotating keys.”

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

01 / THE REASONING

## Why this made the selection.

 - It creates keys four ways (generic RSA, RSA with keySize 2048, EC on P-256, and with keyOps, tags and an expiry), rotates a key on demand and sets a policy that rotates P30D before a P90D expiry.
- Its CryptographyClient samples encrypt and decrypt with RSA-OAEP, sign and verify a SHA-256 digest with RS256, and wrap and unwrap key material.
- It shows key backup and restore, noting that a backup can be restored to a different vault, and practice 5 says to grant only the key operations needed.

### A good fit for

 - Set a rotation policy on a Key Vault key from Node.js
- Encrypt and decrypt a Buffer with an RSA Key Vault key through CryptographyClient
- Sign a SHA-256 digest computed with node:crypto and verify it with RS256
- Back up a Key Vault key and restore it into another vault

### Weigh up before choosing

 - Both install lines Microsoft prints for this skill, `npx skills add microsoft/skills --skill azure-sdk-typescript` and `/plugin install azure-sdk-typescript@skills`, install the whole azure-sdk-typescript plugin rather than the keys skill alone.
- Apart from eight lines (frontmatter name, description and package, title, intro line, install comment and command, one import), this file is identical to the azure-keyvault-secrets-ts skill: both teach keys and secrets.
- The install line adds @azure/keyvault-keys and @azure/identity only, but the Authentication block also constructs a SecretClient, which the file imports from @azure/keyvault-secrets only in its Key Types block.
- The key and secret samples set expiresOn: new Date("2025-12-31"), a date already in the past when this review was made on 2026-10-21.
- The Delete Key sample purges the key as soon as deletion completes, with no confirmation step.
- Practice 6 says the SDKs are Node.js only and not supported in a browser.
- references/keys.md and references/secrets.md sit beside SKILL.md, which does not link to them; this review did not open them.
- The azure-keyvault-keys-ts directory was last changed at the pin by commit ee33ce9d, committed 2026-04-21 (2026-04-22T00:13:36Z UTC).

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-typescript/skills/azure-keyvault-keys-ts/SKILL.md (all 278 lines)
- .github/plugins/azure-sdk-typescript/skills/azure-keyvault-secrets-ts/SKILL.md (compared line by line)
- .github/plugins/azure-sdk-typescript/README.md
- .github/plugins/azure-sdk-typescript/.claude-plugin/plugin.json
- README.md
- LICENSE

### Our findings

 - The Authentication sample builds DefaultAzureCredential with requiredEnvVars: ["AZURE_TOKEN_CREDENTIALS"] and leaves ManagedIdentityCredential as a commented production alternative.
- The vault URL is built from AZURE_KEYVAULT_NAME, although KEY_VAULT_URL is listed first in the environment block.
- Practice 2 says soft-delete is required for production vaults.
- A CryptographyClient can be built from the key object or from key.id.
- The frontmatter declares license MIT, author Microsoft, version 1.0.0 and package @azure/keyvault-keys. It declares no allowed-tools.

### Not established by this review

 - No key was created, rotated, deleted, purged or used to encrypt, sign or wrap.
- @azure/keyvault-keys and @azure/identity were not installed from npm.
- Neither the azure-sdk-typescript plugin nor azure-keyvault-keys-ts was installed; its two reference files were 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-typescript/README.md)
 - The azure-sdk-typescript plugin README prints `npx skills add microsoft/skills --skill azure-sdk-typescript` under Install. It installs the whole azure-sdk-typescript plugin, whose skill table lists azure-keyvault-keys-ts; it does not install that skill alone.
- The same README prints `/plugin install azure-sdk-typescript@skills`, which also brings in azure-keyvault-keys-ts 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 prints `npm install @azure/keyvault-keys @azure/identity`; its SecretClient samples also need @azure/keyvault-secrets, which that line does not add. This review installed nothing.
- A Key Vault named by KEY_VAULT_URL or AZURE_KEYVAULT_NAME, with AZURE_TOKEN_CREDENTIALS set for the DefaultAzureCredential sample.
- A Node.js runtime: practice 6 rules out the browser.
- Copilot CLI, where `/plugin install azure-sdk-typescript@skills` adds this keys skill with the rest of the plugin.

### Compatibility

Copilot CLI · GitHub Copilot in VS Code

### Implementation

TypeScript

### Reference text; Key Vault key and secret changes happen only in code an operator runs

 - The azure-keyvault-keys-ts frontmatter declares no allowed-tools; its directory holds SKILL.md, references/keys.md and references/secrets.md, and no scripts.
- Samples authenticate with DefaultAzureCredential and call the vault at https://${process.env.AZURE_KEYVAULT_NAME}.vault.azure.net.
- Run as written, they create, rotate, delete and purge keys, set and purge secrets, and print a secret value with console.log(secret.value).
- Backup samples return a key and a secret as backup blobs to the calling code.

### Cost model

Free to copy under MIT. The file states no price for Key Vault key or secret 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-keyvault-keys-ts SKILL.md at the pin ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-typescript/skills/azure-keyvault-keys-ts/SKILL.md) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-typescript/skills/azure-keyvault-keys-ts/SKILL.md Supports: name, upstreamDescription, summary, whySelected, bestFor, limitations, review.findings, install.prerequisites, access.permissions
- [azure-sdk-typescript plugin README ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-typescript/README.md) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-typescript/README.md Supports: install.sourceUrl, install.steps, limitations (install scope)
- [azure-sdk-typescript plugin.json ↗](https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-typescript/.claude-plugin/plugin.json) Checked 2026-10-21 https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-typescript/.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 ee33ce9d, the last change to azure-keyvault-keys-ts at the pin ↗](https://github.com/microsoft/skills/commit/ee33ce9d2b4372b0cfe58375bebbf0bd989e3ac9) Checked 2026-10-21 https://github.com/microsoft/skills/commit/ee33ce9d2b4372b0cfe58375bebbf0bd989e3ac9 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 (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.](/skills/microsoft-azure-security-keyvault-keys-java/)[### 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 Secrets SDK for TypeScript ↗ Microsoft's TypeScript guide to @azure/keyvault-secrets for setting, reading, versioning, deleting, recovering and backing up Key Vault secrets; the same file also carries key and cryptography operations.](/skills/microsoft-azure-keyvault-secrets-ts/)

 [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/)
