Dev & Engineering ✓ Microsoft · Official azure-key-vaultsecrets-managementtypescriptnodejsmanaged-identitykey-rotationcryptography

Azure Key Vault Secrets for TypeScript

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

FollowSkills review · FSRS-2.0
Not recommended
44/ 100 5-point scale 2.2 / 5
1 2 3 4 5 6
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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
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.
See the full review method →

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.

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

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 do you install this skill?

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.

How do you use this skill?

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.

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for .NET

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

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure File Share TypeScript Skill

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

Dev & Engineering ✓ Microsoft · Official

Microsoft 365 Agents SDK for TypeScript

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

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.

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.

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for TypeScript

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

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

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

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB TypeScript Skill

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

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs TypeScript Skill

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

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

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

Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for TypeScript

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

Dev & Engineering ✓ Microsoft · Official

Azure Identity for .NET

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

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.

Related skills