azure-keyvault-keys-ts

Manage cryptographic keys in Azure using the Key Vault Keys SDK for JavaScript.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-keyvault-keys-ts-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-keyvault-keys-ts
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-keyvault-keys-ts
Command: npx skills add https://github.com/microsoft/skills --skill azure-keyvault-keys-ts-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manage cryptographic keys using the Azure Key Vault Keys SDK for JavaScript to create, encrypt, decrypt, sign, rotate, and manage key lifecycles securely.

Core Features & Use Cases

  • Key creation, retrieval, rotation, and deletion with KeyClient and associated cryptography operations via CryptographyClient.
  • Encrypt, decrypt, sign, verify, wrap, and unwrap data using keys stored in Azure Key Vault.
  • Use cases include securing application secrets, implementing CEK rotation for crypto workloads, and simplifying PKI workflows in Node.js apps.

Quick Start

Install the Azure Key Vault Keys SDK and create a KeyClient to begin managing keys in your vault.

Frequently Asked Questions about azure-keyvault-keys-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage cryptographic keys in Azure Key Vault using JavaScript?

Manage cryptographic keys in Azure Key Vault using JavaScript by installing the @azure/keyvault-keys SDK to create, retrieve, rotate, and delete keys. You use KeyClient for lifecycle management and CryptographyClient for encrypt, decrypt, sign, and verify operations.

Can I encrypt and decrypt data with Azure Key Vault keys in Node.js?

Yes, you can encrypt and decrypt data with Azure Key Vault keys in Node.js by using the CryptographyClient. It allows your application to perform cryptographic operations like wrap, unwrap, sign, and verify using keys stored securely in the vault.

Do I need @azure/identity to authenticate KeyClient operations?

Yes, you need @azure/identity to authenticate KeyClient and CryptographyClient operations. The Key Vault Keys SDK requires these identity credentials to authorize access and manage cryptographic key lifecycles within your Azure vault.

What's the best way to rotate cryptographic keys in Azure Key Vault?

The best way to rotate cryptographic keys in Azure Key Vault is using the KeyClient from the @azure/keyvault-keys SDK. It handles key creation, retrieval, and rotation to simplify PKI workflows and secure application secrets in Node.js.

What is Azure Key Vault key management used for in JavaScript apps?

Azure Key Vault key management in JavaScript is used for securing application secrets, implementing Content Encryption Key (CEK) rotation for crypto workloads, and simplifying Public Key Infrastructure (PKI) workflows in Node.js applications.

Are there limitations when using Azure Key Vault for local cryptographic operations?

Azure Key Vault cryptographic operations require network access to the vault and proper identity authentication, meaning local offline encryption is not supported. The CryptographyClient executes operations server-side within Azure rather than exporting private key material locally.