Dev & Engineering ✓ Microsoft · Official azure-key-vaultcryptographic-keystypescriptnodejsencryptiondigital-signatureskey-rotation

Azure Key Vault Keys for TypeScript

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

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

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

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.

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

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

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.

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.

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.

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.

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 Key Vault Keys for Rust

A practical Rust guide for creating, managing, and using RSA, EC, and HSM-protected 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 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 App Configuration for TypeScript

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

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 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 Cosmos DB TypeScript Skill

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

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 Identity for TypeScript

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

Dev & Engineering ✓ Microsoft · Official

ADO Wiki Converter

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

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Cloud Testing

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

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 AI Content Safety for TypeScript

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

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

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

Dev & Engineering ✓ Microsoft · Official

Azure Translation for TypeScript

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

Related skills