azure-security-keyvault-keys-dotnet

azure-security-keyvault-keys-dotnet is a skill for Claude Code, Codex from tmolavi/mcp-agent-skills-hub. It costs 51 tokens per session (3,056 once invoked), scanned A, a copy of azure-security-keyvault-keys-dotnet, MIT.

A .NET client library for Azure Key Vault and Managed HSM, Microsoft services that store cryptographic keys securely.

In plain words
What is it for?
Use it to create, list, update, back up, restore, rotate, encrypt with, decrypt with, sign with, and verify using RSA or elliptic-curve keys.
Why use it?
It avoids implementing direct key storage and cryptographic operations from scratch while keeping keys in Azure's managed services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, list, update, back up, restore, rotate, encrypt with, decrypt with, sign with, and verify using RSA or elliptic-curve keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tmolavi/mcp-agent-skills-hub --skill azure-security-keyvault-keys-dotnet
Clone the repo
git clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-security-keyvault-keys-dotnet

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet/github.svg)](https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet)
Your own site
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-security-keyvault-keys-dotnet

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/azure-security-keyvault-keys-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.03056
Opus 5.5 $0.00020 $0.01222
Sonnet 5.5 $0.00010 $0.00611
Haiku 4.5 $0.00005 $0.00306

Measured 3mo ago against content hash 547f100c9ce5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

azure-security-keyvault-keys-dotnet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to azure-security-keyvault-keys-dotnet — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/azure-security-keyvault-keys-dotnet/SKILL.md · 416 lines

How it starts

The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure.Security.KeyVault.Keys (.NET)

Client library for managing cryptographic keys in Azure Key Vault and Managed HSM.

Installation

dotnet add package Azure.Security.KeyVault.Keys
dotnet add package Azure.Identity

Current Version: 4.7.0 (stable)

Environment Variables

KEY_VAULT_NAME=<your-key-vault-name>
# Or full URI
AZURE_KEYVAULT_URL=https://<vault-name>.vault.azure.net

Client Hierarchy

KeyClient (key management)
├── CreateKey / CreateRsaKey / CreateEcKey
├── GetKey / GetKeys
├── UpdateKeyProperties
├── DeleteKey / PurgeDeletedKey
├── BackupKey / RestoreKey
└── GetCryptographyClient() → CryptographyClient

CryptographyClient (cryptographic operations)
├── Encrypt / Decrypt
├── WrapKey / UnwrapKey
├── Sign / Verify
└── SignData / VerifyData

KeyResolver (key resolution)
└── Resolve(keyId) → CryptographyClient

Authentication

DefaultAzureCredential (Recommended)

using Azure.Identity;
using Azure.Security.KeyVault.Keys;

var keyVaultName = Environment.GetEnvironmentVariable("KEY_VAULT_NAME");
var kvUri = $"https://{keyVaultName}.vault.azure.net";

var client = new KeyClient(new Uri(kvUri), new DefaultAzureCredential());

Service Principal

var credential = new ClientSecretCredential(
    tenantId: "<tenant-id>",
    clientId: "<client-id>",
    clientSecret: "<client-secret>");

var client = new KeyClient(new Uri(kvUri), credential);

Key Management

Create Keys

// Create RSA key
KeyVaultKey rsaKey = await client.CreateKeyAsync("my-rsa-key", KeyType.Rsa);
Console.WriteLine($"Created key: {rsaKey.Name}, Type: {rsaKey.KeyType}");

// Create RSA key with options
var rsaOptions = new CreateRsaKeyOptions("my-rsa-key-2048")
{
    KeySize = 2048,
    HardwareProtected = false, // true for HSM-backed
    ExpiresOn = DateTimeOffset.UtcNow.AddYears(1),
    NotBefore = DateTimeOffset.UtcNow,
    Enabled = true
};
rsaOptions.KeyOperations.Add(KeyOperation.Encrypt);
rsaOptions.KeyOperations.Add(KeyOperation.Decrypt);

KeyVaultKey rsaKey2 = await client.CreateRsaKeyAsync(rsaOptions);

// Create EC key
var ecOptions = new CreateEcKeyOptions("my-ec-key")
{
    CurveName = KeyCurveName.P256,
    HardwareProtected = true // HSM-backed
};
KeyVaultKey ecKey = await client.CreateEcKeyAsync(ecOptions);

// Create Oct (symmetric) key for wrap/unwrap
var octOptions = new CreateOctKeyOptions("my-oct-key")
{
    KeySize = 256,
    HardwareProtected = true
};
KeyVaultKey octKey = await client.CreateOctKeyAsync(octOptions);

Read the full file on GitHub · 416 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 416 lines · 51 tokens per session scan A 547f100c9ce5

Subscribe to this mod's changes

azure-security-keyvault-keys-dotnet is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (11 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 3,056 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to azure-security-keyvault-keys-dotnet, differing in 36 lines, and is treated as a copy.

Related

azure-security-keyvault-keys-dotnet compared with skills from other repositories

azure-security-keyvault-keys-dotnet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
azure-security-keyvault-keys-dotnettmolavi/mcp-agent-skills-hubSkill113d agoMITA51Claude Code, Codex
aspnet-coreG1Joshi/Agent-SkillsSkill162mo agoMITA38Claude Code, Codex
blazorG1Joshi/Agent-SkillsSkill162mo agoMITA42Claude Code, Codex
csharpG1Joshi/Agent-SkillsSkill162mo agoMITA63Claude Code, Codex
unity-csharp-architecture-and-ecshamzabellouch/agent-skillsSkill81mo agoMITA54Claude Code, Codex
dotnet-maui-wpf-desktophamzabellouch/agent-skillsSkill81mo agoMITA56Claude Code, Codex
godot-gdscript-patternshamzabellouch/agent-skillsSkill81mo agoMITA53Claude Code, Codex