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.

44/ 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-vaultsecrets-managementtypescriptnodejs
+3managed-identitykey-rotationcryptography

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

This skill supports TypeScript and Node.js developers using the Azure Key Vault Secrets JavaScript SDK. It covers creating, retrieving, listing, deleting, recovering, purging, backing up, and restoring secrets, plus key creation, rotation, deletion, and cryptographic operations. Authentication guidance uses DefaultAzureCredential or managed identity credentials. The skill is explicitly Node.js-only and does not support browsers.

Shows how to install @azure/keyvault-secrets and @azure/identity, configure a vault URL or name, and set authentication environment variables; use SecretClient to create, retrieve, list, delete, recover, purge, back up, and restore secrets; use KeyClient to create, retrieve, list, rotate, delete, and back up keys; use CryptographyClient for encryption, decryption, signing, verification, key wrapping, and unwrapping; and apply error handling, expiration dates, soft delete, rotation policies, and least-privilege key operations.

Good fit
  • A TypeScript developer building a Node.js backend that must read application passwords, API keys, or configuration values from Azure Key Vault.
  • An Azure application team configuring managed identity or DefaultAzureCredential for production authentication.
  • A developer creating RSA or elliptic-curve keys with expiration dates, tags, and restricted key operations.
  • A platform or operations engineer implementing key rotation, soft-delete recovery, purge, or backup-and-restore workflows.
  • A Node.js developer implementing encryption, decryption, signing, verification, or key wrapping through Azure Key Vault.

How do you install this skill?

Before you use it
  • Add @azure/keyvault-keys to installation and fix imports such as KeyClient; otherwise the main examples may not compile.
  • Treat bulk export, backup, deletion, and purge as high-risk operations. Apply least privilege, user confirmation, auditing, and recovery controls, and avoid printing or persisting secret values.
  • Before production use, verify current Azure SDK APIs, RBAC permissions, soft-delete/purge-protection requirements, and network reachability; this review did not execute the code.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Node.js
  • @azure/keyvault-secrets
  • @azure/identity

Install the skill collection with npx skills add microsoft/skills, then select this skill in the wizard. The README says skills are installed into the selected Agent directory, such as .github/skills/ for GitHub Copilot. Install the SDK dependencies with npm install @azure/keyvault-secrets @azure/identity. The source does not document a standalone package or complete project-directory setup for 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-secrets-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?

Try saying

Once installed, send your agent any of these to trigger it:

  • Using TypeScript and the Azure Key Vault Secrets SDK, retrieve the latest version of MySecret with DefaultAzureCredential and handle SecretNotFound.

With the skill installed, give the coding Agent a concrete request such as: “Using TypeScript and the Azure Key Vault Secrets SDK, retrieve the latest version of MySecret with DefaultAzureCredential and handle SecretNotFound.” Configure KEY_VAULT_URL or AZURE_KEYVAULT_NAME; when using DefaultAzureCredential in production, also set AZURE_TOKEN_CREDENTIALS=prod or a specific credential value. The key and cryptography examples also use @azure/keyvault-keys, although the installation command does not include it.

What are this skill's strengths and limitations?

Pros
  • Covers concrete SDK patterns for secrets, key lifecycle management, cryptography, and backup and restore.
  • Includes examples for DefaultAzureCredential, ManagedIdentityCredential, environment variables, and error handling.
  • Addresses production concerns including soft delete, expiration, rotation policies, and limiting key operations.
  • MIT licensed and maintained within a repository described as actively developed with testing workflows.
Limitations
  • Explicitly targets Node.js and does not support browsers.
  • The source provides no test-coverage or acceptance-scenario evidence for this individual skill.
  • The key and CryptographyClient examples require `@azure/keyvault-keys`, but the provided install command does not install it.
  • The authentication snippet uses KeyClient without showing its corresponding import.

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 Secrets for TypeScript this page ✓ Microsoft · Official 44 · Not recommended ★ 2.7k 3mo ago MIT
Azure Key Vault Keys for TypeScript ✓ Microsoft · Official 38 · Not recommended ★ 2.7k 3mo ago MIT
Azure Key Vault SDK for Python ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT
Azure Key Vault Keys for .NET ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT
Azure Identity for TypeScript ✓ Microsoft · Official 57 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
44/ 100 5-point scale 2.2 / 5
1Trust13 / 25 · 2.6/5

The documentation recommends managed identity, least-privilege RBAC, soft delete, and recovery, and labels purge as irreversible. However, examples cover reading, exporting, backing up, deleting, and cryptographic operations without user-confirmation requirements; bulk export can expose all secrets, and data-flow, logging, and backup-storage risks are underexplained, so points are deducted.

2Reliability5 / 20 · 1.3/5

Common CRUD, polling, and partial error-handling paths are documented, but the main file uses KeyClient without importing it, while installation omits @azure/keyvault-keys; the references broaden the scope to keys and cryptography. No skill-specific committed tests or reproducible execution evidence are shown, so the static cap keeps this below 10.

3Adaptability8 / 15 · 2.7/5

The primary scenario is reasonably clear: managing Azure Key Vault secrets from Node.js/TypeScript. The content also covers keys and cryptography, making boundaries less precise. Browser non-support is stated, but input constraints, trigger conditions, non-fit cases, and Chinese/mainland-China environment support are not described, so points are deducted.

4Convention8 / 15 · 2.7/5

The skill has front matter, an MIT license, a version, installation notes, topical references, error handling, and best practices. It lacks skill-specific ownership, changelog, SDK version constraints, FAQs, and compatibility notes; the main file and references also differ in scope and dependencies, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

It supplies directly adaptable examples for secrets, keys, rotation, recovery, backup, and encryption, giving the skill clear core value. However, the missing dependency, import defect, and incomplete production safeguards require substantial manual verification, so static effectiveness is capped at 7.

6Verifiability4 / 10 · 2.0/5

The files include concrete APIs, permission tables, and error codes, and the repository provides generic CI/evaluation infrastructure. No path-specific tests, pinned SDK versions, execution results, or independent corroboration are provided, so only limited static auditability is credited.

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

Is this suitable for browser frontend applications?
No. The SKILL.md explicitly states that these SDKs are Node.js-only and browser support is not available.
Which authentication approach should production applications use?
Use ManagedIdentityCredential or WorkloadIdentityCredential. If using DefaultAzureCredential, set `AZURE_TOKEN_CREDENTIALS=prod` or specify a credential value.
Can deleted secrets or keys be recovered?
Yes. The examples support recovery after soft deletion and permanent purge; the guidance also recommends enabling soft delete for production vaults.
What extra dependency is needed for the key and cryptography examples?
The base installation includes `@azure/keyvault-secrets` and `@azure/identity`. The key and CryptographyClient examples also import `@azure/keyvault-keys`, but the source does not provide its installation command.

More skills from this repository

All from microsoft/agent-skills

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.

★ 2.7k FS 38 Not recommended 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 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 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

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 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 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 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 API Management for Python

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

★ 2.7k FS 54 Use with care 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 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 Identity for Python

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

★ 2.7k FS 60 Recommended 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 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 Identity for Java

Configure secure Microsoft Entra ID authentication for Java applications using Azure SDKs.

★ 2.7k FS 51 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 Identity for .NET

Guides .NET applications in authenticating Azure SDK clients with Microsoft Entra ID.

★ 2.7k FS 50 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

Related skills