Technical & DevelopmentIntermediate
azure-security-keyvault-keys-dotnet
Cryptographic key management
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/microsoft/skills --skill azure-security-keyvault-keys-dotnetnpx skills add https://github.com/microsoft/skills --skill azure-security-keyvault-keys-dotnetOr paste this URL into your assistant to install:
Overview
What This Skill Does
Azure.Security.KeyVault.Keys is the .NET client library for creating and managing cryptographic keys in Azure Key Vault and Managed HSM. It provides two main clients: KeyClient for key lifecycle operations and CryptographyClient for encrypt, decrypt, sign, verify, wrap, and unwrap operations.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
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> # Required: Key Vault name
AZURE_KEYVAULT_URL=https://<vault-name>.vault.azure.net # Optional: full Key Vault URL
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
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
Lines 1 - 41 of 406
Recommendations