azure-security-keyvault-keys-dotnet

Manage cryptographic keys in Azure Key Vault from .NET applications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Azure Key Vault Keys SDK for .NET enables .NET applications to securely create, manage, and operate cryptographic keys stored in Azure Key Vault, supporting safe key lifecycle management.

Core Features & Use Cases

  • KeyClient and CryptographyClient support create, retrieve, update, delete, backup, restore, and rotate keys.
  • Supports RSA, EC, and Oct keys, with options for hardware-backed (HSM) keys.
  • Includes cryptographic operations like Encrypt, Decrypt, Sign, Verify, WrapKey, UnwrapKey via CryptographyClient.

Quick Start

Install the Azure.Security.KeyVault.Keys package and initialize KeyClient with DefaultAzureCredential to manage keys.

Frequently Asked Questions about azure-security-keyvault-keys-dotnet

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

FAQPage Schema
How do I manage Azure Key Vault keys in a .NET application?

You can manage Azure Key Vault keys in .NET by installing the Azure.Security.KeyVault.Keys package and initializing KeyClient with DefaultAzureCredential to create, retrieve, update, delete, and rotate cryptographic keys.

What cryptographic operations can I perform with Azure Key Vault keys in .NET?

You can perform Encrypt, Decrypt, Sign, Verify, WrapKey, and UnwrapKey operations in .NET by using the CryptographyClient with your RSA, EC, or Oct keys stored in Azure Key Vault.

Does the Azure Key Vault Keys SDK for .NET support hardware-backed HSM keys?

Yes, the Azure Key Vault Keys SDK for .NET supports hardware-backed HSM keys, allowing you to securely create and manage RSA, EC, and Oct keys within your Azure Key Vault.

How do I authenticate to Azure Key Vault from a .NET app?

You can authenticate to Azure Key Vault from .NET using credential-based authentication via DefaultAzureCredential or ClientSecretCredential when initializing your KeyClient or CryptographyClient.

Can I rotate cryptographic keys automatically in Azure Key Vault using .NET?

Yes, you can configure and manage key rotation policies in Azure Key Vault using the .NET SDK to ensure your cryptographic keys are automatically rotated and securely maintained throughout their lifecycle.

What is the best way to backup and restore Key Vault keys in .NET?

The best way to backup and restore Key Vault keys in .NET is using the KeyClient class, which provides dedicated methods to securely export key backups and restore them back into your vault.