Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for .NET

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

45/ 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-vaultcryptographic-keysdotnetkey-rotation
+3encryptiondigital-signaturesmanaged-hsm

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

This skill is for .NET developers using the Azure.Security.KeyVault.Keys SDK with Azure Key Vault and Managed HSM. It covers creating, retrieving, updating, deleting, backing up, restoring, and rotating RSA, EC, and symmetric keys. It also shows how to use CryptographyClient for encryption, decryption, key wrapping, signing, and verification. The material includes Microsoft Entra credentials, service principals, RBAC roles, environment variables, and error handling.

It guides installation of Azure.Security.KeyVault.Keys and Azure.Identity, reads Key Vault configuration from environment variables, creates KeyClient and CryptographyClient instances, and calls Azure Key Vault operations. Examples cover key creation and version retrieval, property updates, soft-delete and recovery, backup and restore, rotation policies, and RSA, EC, and AES-related encryption, decryption, wrapping, unwrapping, signing, and verification. It also demonstrates writing key backups to files, reading them back, and handling 404, 403, and other RequestFailedException cases.

Good fit
  • A .NET engineer building Azure security features can use it to create RSA, EC, or HSM-backed keys with KeyClient.
  • A developer implementing encryption, decryption, signing, or verification in a .NET service can follow its CryptographyClient examples.
  • A team responsible for production key lifecycle management can use the rotation API and rotation-policy examples.
  • A platform or operations engineer migrating or recovering keys can follow the backup, restore, soft-delete, and recovery examples.

How do you install this skill?

Before you use it
  • Do not execute PurgeDeletedKeyAsync, deletion, or rotation without confirmation and a tested recovery process.
  • The example writes a key backup to local key-backup.bin; production use requires explicit encryption, access control, retention, and secure-deletion policies.
  • The ClientSecretCredential example contains a highly sensitive credential; clientSecret must not be hard-coded or logged.
  • Before use, verify the actual APIs, permissions, service capabilities, and compatibility of Azure.Security.KeyVault.Keys 4.7.0 with Azure.Identity, and confirm Azure endpoint reachability from mainland-China networks.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • .NET
  • Azure.Security.KeyVault.Keys
  • Azure.Identity

Install the skill collection with npx skills add microsoft/skills, then select this skill in the wizard; the README does not document a dedicated single-skill installation command. Install the .NET packages with dotnet add package Azure.Security.KeyVault.Keys and dotnet add package Azure.Identity. The SKILL.md identifies Azure.Security.KeyVault.Keys version 4.7.0 as stable.

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-dotnet/skills/azure-security-keyvault-keys-dotnet" ~/.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?

In an agent with the skill installed, try: Create a .NET Azure Key Vault example using DefaultAzureCredential for RSA encryption, decryption, and key rotation. Set KEY_VAULT_NAME; when using DefaultAzureCredential in production, also set AZURE_TOKEN_CREDENTIALS=prod or configure a specific credential. Grant the required Key Vault Crypto Officer, Key Vault Crypto User, or Key Vault Reader RBAC role for the operations you need.

What are this skill's strengths and limitations?

Pros
  • Covers key lifecycle management, cryptographic operations, rotation, backup and restore, and error handling.
  • Provides copyable asynchronous C# examples for KeyClient, CryptographyClient, and KeyResolver.
  • Documents DefaultAzureCredential, managed identity, HSM-backed keys, soft-delete, and RBAC practices.
  • Licensed under MIT and distributed as part of Microsoft's installable skills collection.
Limitations
  • Requires an accessible Azure Key Vault or Managed HSM, valid credentials, and appropriate RBAC permissions.
  • Depends on network calls to Azure services and cannot independently provide local key custody.
  • The source does not provide independent test results or platform-specific validation for this particular skill.
  • The README states that the repository is under active development, so the skill may change.

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 Keys for .NET this page ✓ Microsoft · Official 45 · 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 Keys for Java ✓ Microsoft · Official 49 · Use with care ★ 2.7k 3mo ago MIT
Azure Key Vault Keys for Rust ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Key Vault SDK for Python ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
45/ 100 5-point scale 2.3 / 5
1Trust12 / 25 · 2.4/5

The document recommends managed identity, restricted KeyOperations, soft delete, and key expiration, and includes RBAC and error-handling examples. However, deletion, purge, rotation, and local backup-file operations can create significant external or sensitive-data impact without explicit confirmation, least-privilege configuration, backup protection, data-flow disclosure, or rollback guidance, so points are deducted.

2Reliability7 / 20 · 1.8/5

The skill broadly covers client hierarchy, authentication, key management, cryptographic operations, rotation, and differentiated 404/403/general error handling. It provides no skill-specific tests, compatibility validation, abnormal-input handling, retry strategy, or reproducible key-path evidence; under static review this supports only a modest score.

3Adaptability8 / 15 · 2.7/5

The name, description, trigger terms, and .NET scenarios are fairly clear, covering key management and cryptographic operations. It does not define non-fit cases, service prerequisites, permission boundaries, or Chinese-language guidance, and its core function depends on reachable Azure Key Vault/Managed HSM services with no mainland-China reachability discussion, so points are deducted.

4Convention8 / 15 · 2.7/5

The document includes installation commands, layered sections, code examples, algorithm and RBAC tables, and declares MIT licensing, author, and version 1.0.0. It lacks a changelog, explicit maintenance owner and update path, an SDK/API compatibility matrix, troubleshooting guidance, and known limitations; the version is also undated, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

It covers creation, retrieval, update, deletion, recovery, backup, encryption/decryption, signing, verification, and rotation, making it a useful starting point for common implementations. However, examples lack complete project context, permission setup, production-safe handling, and validation results, leaving manual review and rework; static calibration caps this dimension at 7.

6Verifiability4 / 10 · 2.0/5

The skill cites NuGet, API reference, quickstart, and GitHub source locations, providing some traceability. It contains no skill-specific tests, CI coverage, or third-party execution evidence, and the referenced external material was not verified in this static review, so only limited credit is justified.

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]

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

What permissions are required?
Key Vault Reader is listed for reading key metadata, Key Vault Crypto User for cryptographic operations, and Key Vault Crypto Officer for full key management.
How does the skill address common failures?
Its examples handle 404 as a missing key, 403 as an access-denied condition, and other failures through RequestFailedException.
Does this skill require Azure Key Vault?
Yes. It targets Azure Key Vault and Managed HSM and uses clients such as KeyClient and CryptographyClient to call the service.
Does the source document pricing?
No. The source does not specify pricing; it documents package installation and Azure service requirements only.

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

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

★ 2.7k FS 44 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 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 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 Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for .NET

Practical .NET guidance for publishing, receiving, and processing Azure Event Grid events.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Fabric Capacity Manager for .NET

Manage Microsoft Fabric capacities programmatically through Azure Resource Manager.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft Docs Researcher

Ground coding agents in official Microsoft documentation for concepts, tutorials, configuration, limits, and best practices.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

MongoDB Atlas Azure ARM Manager

Helps .NET developers manage MongoDB Atlas organizations through Azure Marketplace and Azure ARM.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Search for .NET

Build .NET search applications with practical Azure AI Search patterns for full-text, vector, semantic, and hybrid retrieval.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Arize AI Azure Management for .NET

Guides .NET developers through Azure-based management of Arize AI observability resources.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Durable Task ARM for .NET

Guides .NET developers through code-based provisioning and management of Durable Task Scheduler resources.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

MCP Server Development Guide

A practical guide to building clear, testable MCP servers that let LLMs work with external APIs.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Persistent Agents for .NET

A practical .NET playbook for building and operating Azure AI persistent agents.

★ 2.7k FS 48 Use with care 3mo ago

Related skills