azure-security-keyvault-keys-dotnet

azure-security-keyvault-keys-dotnet is a skill for Claude Code, Codex from benjaminasterA/antigravity-awesome-skills. It costs 0 tokens per session (3,035 once invoked), scanned A, a copy of azure-security-keyvault-keys-dotnet, MIT.

A .NET client-library guide for managing cryptographic keys in Azure Key Vault and Managed HSM. It covers RSA and elliptic-curve keys and operations such as encryption, signing, and verification.

In plain words
What is it for?
Use it to create, retrieve, rotate, back up, and use cryptographic keys for encryption, decryption, signing, and signature checks.
Why use it?
It lets applications perform key management and cryptographic work through Azure instead of handling key material directly in application code.

Skill for Claude CodeCodex

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

Good fit Use it to create, retrieve, rotate, back up, and use cryptographic keys for encryption, decryption, signing, and signature checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benjaminastera/antigravity-awesome-skills/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 benjaminasterA/antigravity-awesome-skills --skill azure-security-keyvault-keys-dotnet
Clone the repo
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills

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/benjaminastera/antigravity-awesome-skills/azure-security-keyvault-keys-dotnet/github.svg)](https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-security-keyvault-keys-dotnet)
Your own site
<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-security-keyvault-keys-dotnet"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/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/benjaminastera/antigravity-awesome-skills/azure-security-keyvault-keys-dotnet"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/azure-security-keyvault-keys-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,035 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 89% 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.00000 $0.03035
Opus 5.5 $0.00000 $0.01214
Sonnet 5.5 $0.00000 $0.00607
Haiku 4.5 $0.00000 $0.00303

Measured 3mo ago against content hash bc768108e0e5, 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

89% identical to azure-security-keyvault-keys-dotnet — 30 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 · 412 lines

How it starts

The opening of the file, as written. The whole thing — 412 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 · 412 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 · 412 lines · 0 tokens per session scan A bc768108e0e5

Subscribe to this mod's changes

azure-security-keyvault-keys-dotnet is a skill published in the GitHub repository benjaminasterA/antigravity-awesome-skills (527 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,035 tokens. A static security scan graded it A with 0 findings. It is 89% identical to azure-security-keyvault-keys-dotnet, differing in 30 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-dotnetbenjaminasterA/antigravity-awesome-skillsSkill527yesterdayMITA0Claude Code, Codex
agui-dotnet-streaming-chatag-ui-protocol/ag-uiSkill23ktodayMITA223Claude Code
migrate-xunit-to-xunit-v3dotnet/skillsSkill6.4ktodayMITA149Claude Code
migrate-dotnet8-to-dotnet9dotnet/skillsSkill6.4ktodayMITA176Claude Code
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA97Claude Code
template-validationdotnet/skillsSkill6.4ktodayMITA131Claude Code
platform-detectiondotnet/skillsSkill6.4ktodayMITA166Claude Code