Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for TypeScript

A practical TypeScript guide to creating, protecting, rotating, and using cryptographic keys in Azure Key Vault.

38/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-key-vaultcryptographic-keystypescriptnodejs
+3encryptiondigital-signatureskey-rotation

What does this skill do, and when should you use it?

This Microsoft Agent Skills entry helps Node.js developers work with the Azure Key Vault Keys SDK for JavaScript, @azure/keyvault-keys. It covers key creation, retrieval, enumeration, deletion, backup, restore, rotation, and rotation policies. It also demonstrates RSA-OAEP encryption and decryption, RS256 signing and verification, and key wrapping and unwrapping. The document includes SecretClient secret-management examples, but its installation command does not list @azure/keyvault-secrets, so that dependency should be checked before adoption.

Shows how to install the Azure SDK packages and configure KEY_VAULT_URL or AZURE_KEYVAULT_NAME; constructs KeyClient and CryptographyClient instances with DefaultAzureCredential or ManagedIdentityCredential; creates generic, RSA, and elliptic-curve keys; retrieves, lists, rotates, deletes, purges, backs up, and restores keys; configures rotation policies; encrypts and decrypts data with RSA-OAEP; signs and verifies SHA-256 digests with RS256; wraps and unwraps key material; and demonstrates secret CRUD, recovery, purge, and not-found error handling.

Good fit
  • A TypeScript backend developer creating RSA or elliptic-curve keys in Azure Key Vault.
  • A Node.js application that needs RSA-OAEP encryption and decryption for protected data.
  • A platform team enforcing expiration dates and rotation policies for production keys.
  • An operations engineer backing up keys and restoring them into the same or another vault.
  • An Azure developer moving from local development credentials to managed identity in production.

How do you install this skill?

Before you use it
  • The skill claims to cover Keys but contains extensive Secrets material; if Secrets remain in scope, add @azure/keyvault-secrets explicitly and fix the missing SecretClient import.
  • Purge, bulk secret export, and local backup-writing examples can create irreversible or sensitive-data risks; add explicit confirmation, least-privilege, secure-storage, and recovery guidance.
  • Add pinned dependencies, permission prerequisites, runnable skill-specific tests, failure scenarios, and mainland-China service/network reachability guidance.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Node.js
  • @azure/keyvault-keys
  • @azure/identity
  • @azure/keyvault-secrets

Place the skill directory in the skills directory used by your Agent Skills-compatible client. The skill file is at .github/plugins/azure-sdk-typescript/skills/azure-keyvault-keys-ts/SKILL.md. To install the collection, run: npx skills add microsoft/skills, then select the required skill in the wizard. The package example is: npm install @azure/keyvault-keys @azure/identity. The source does not document a standalone installation command for only this skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-keyvault-keys-ts" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Example trigger: Use azure-keyvault-keys-ts to help me create a P-256 key in a TypeScript Node.js application, configure Azure authentication, and set a rotation policy. Follow the KeyClient, CryptographyClient, DefaultAzureCredential, or ManagedIdentityCredential examples for the required operation. Browser usage is explicitly unsupported.

What are this skill's strengths and limitations?

Pros
  • Covers the key lifecycle from creation and rotation through cryptographic use, backup, and restore.
  • Includes authentication examples for local development and production managed identity.
  • Calls out soft delete, expiration dates, limited key operations, and rotation policies as best practices.
  • Provides concrete TypeScript SDK snippets rather than only conceptual guidance.
Limitations
  • It is explicitly Node.js-only and does not support browsers.
  • The document uses SecretClient examples without showing its import, and the install command omits @azure/keyvault-secrets.
  • The source provides no per-skill test coverage, compatibility matrix, or detailed troubleshooting guidance.
  • The sample expiration date is 2025-12-31 and must be replaced for a current deployment.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Key Vault Keys for TypeScript this page ✓ Microsoft · Official 38 · Not recommended ★ 2.7k 3mo ago MIT
Azure Key Vault Keys for .NET ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT
Azure Key Vault Secrets for TypeScript ✓ Microsoft · Official 44 · Not recommended ★ 2.7k 3mo ago MIT
Azure Key Vault Keys for Java ✓ Microsoft · Official 49 · Use with care ★ 2.7k 3mo ago MIT
Azure Key Vault Keys for Rust ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
38/ 100 5-point scale 1.9 / 5
1Trust12 / 25 · 2.4/5

The documentation uses Azure identity credentials and recommends managed identity, restricted key operations, soft delete, and backups, showing partial least-privilege and recovery awareness. However, it includes irreversible purge, bulk secret export, and local backup examples without user confirmation, sensitive-data-flow disclosure, explicit permission scoping, or secure-storage requirements, so points are deducted. No malware, credential theft, or covert exfiltration red line is evident.

2Reliability5 / 20 · 1.3/5

It covers creation, retrieval, rotation, cryptography, deletion/recovery, and error handling, but the main SKILL.md uses SecretClient without importing it and does not install @azure/keyvault-secrets. Its stated Keys scope is mixed with extensive Secrets content, and authentication/configuration examples are inconsistent. No skill-specific committed tests or reproducible execution evidence are shown, so static scoring is limited.

3Adaptability6 / 15 · 2.0/5

The target scenarios and TypeScript/Node.js boundary are mostly clear, and key management, cryptographic operations, and rotation are identified. However, the actual scope mixes secret management, and it does not define non-fit cases, input/output contracts, permission prerequisites, algorithm constraints, or exclusion triggers. It also provides no Chinese-language or mainland-China reachability guidance, so points are deducted.

4Convention7 / 15 · 2.3/5

The skill has YAML metadata, an MIT license, installation notes, progressive reference files, examples, best practices, and error handling; repository context also supplies Microsoft provenance, licensing, and CI/maintenance signals. However, version 1.0.0 has no changelog, explicit maintainer/update path, complete dependency notes, or sufficient troubleshooting and limitations disclosure, and the scope boundaries are unstable.

5Effectiveness5 / 15 · 1.7/5

It offers broad, reusable TypeScript snippets for common Key Vault key operations. However, there is no complete runnable project, permission setup, input validation, or verification workflow; important examples have issues such as an unimported SecretClient and a missing secrets SDK dependency. Bulk secret export and purge patterns also require substantial human review, so the core value is only partially directly usable.

6Verifiability3 / 10 · 1.5/5

The files provide API examples, type names, error statuses, and repository CI/test infrastructure, giving some auditability. However, the supplied CI and generic harness do not demonstrate dedicated coverage for this skill, and there are no pinned SDK versions, test results, or third-party execution records. Key claims therefore cannot be independently reproduced from the static material alone.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11][12]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Can this skill be used for browser-based TypeScript applications?
No. The SKILL.md explicitly states that these SDKs are Node.js only and that browsers are not supported.
Which credentials are recommended in production?
The skill recommends ManagedIdentityCredential or WorkloadIdentityCredential for production. If DefaultAzureCredential is used, configure AZURE_TOKEN_CREDENTIALS=prod or a specific credential.
What is needed to use the secret-management examples?
The examples use SecretClient, but the installation command lists only @azure/keyvault-keys and @azure/identity. Check and add @azure/keyvault-secrets before using those examples.
Does the skill automatically rotate keys?
It shows both manual rotateKey usage and updateKeyRotationPolicy configuration. Actual automated rotation depends on Azure Key Vault policy execution and configuration.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for .NET

Guides .NET developers in managing Azure Key Vault keys and performing cryptographic operations securely.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for TypeScript

Securely store and retrieve application secrets in Azure Key Vault while managing key lifecycles from Node.js.

★ 2.7k FS 44 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for Java

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

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for Rust

A practical Rust guide for creating, managing, and using RSA, EC, and HSM-protected keys in Azure Key Vault.

★ 2.7k FS 50 Use with care 3mo ago
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.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for TypeScript

A practical guide for uploading, downloading, and managing Azure Blob Storage from TypeScript and JavaScript applications.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure File Share TypeScript Skill

Guides coding agents through Azure SMB file-share operations in TypeScript.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft 365 Agents SDK for TypeScript

Build TypeScript enterprise agents with routing, Express hosting, streaming responses, and Copilot Studio integration.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for TypeScript

Build TypeScript apps with centralized settings, feature flags, and runtime configuration refresh.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for Java

Guides Java developers through secure storage, retrieval, rotation, recovery, and backup of application secrets in Azure Key Vault.

★ 2.7k FS 43 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Certificates for Rust

Guides Rust applications in creating, managing, and using X.509 certificates in Azure Key Vault.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB TypeScript Skill

Gives TypeScript and JavaScript coding agents practical Cosmos DB data-access patterns.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for Rust

Guides Rust applications in securely storing and managing passwords, API keys, and connection strings in Azure Key Vault.

★ 2.7k FS 43 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

ADO Wiki Converter

Converts VitePress and GFM documentation into Azure DevOps Wiki-compatible files.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Playwright Cloud Testing

Scale TypeScript Playwright tests on Azure-hosted browsers and publish results.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs TypeScript Skill

Build TypeScript event-streaming applications with batching, partition-aware consumers, checkpointing, and Azure identity authentication.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for TypeScript

Add text and image harm detection with customizable blocklists to TypeScript applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

Extract document text, tables, and structured fields in TypeScript applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Translation for TypeScript

Build TypeScript applications for text translation, transliteration, language detection, and document translation.

★ 2.7k FS 50 Use with care 3mo ago

Related skills