OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add microsoft/skills --skill azure-security-keyvault-keys-dotnet
Azure Key Vault Keys SDK for .NET. Client library for managing cryptographic keys in Azure Key Vault and Managed HSM. Use for key creation, rotation, encryption, decryption, signing, and verification. Triggers: "Key Vault keys", "KeyClient", "CryptographyClient", "RSA key", "EC key", "encrypt decrypt .NET", "key rotation", "HSM".
npx skills add microsoft/skills --skill azure-security-keyvault-keys-dotnet
Client library for managing cryptographic keys in Azure Key Vault and Managed HSM.
Current Version: 4.7.0 (stable)
| Type | Purpose |
|---|---|
KeyClient | Key management operations |
CryptographyClient | Cryptographic operations |
KeyResolver | Resolve key ID to CryptographyClient |
KeyVaultKey | Key with cryptographic material |
KeyProperties | Key metadata (no crypto material) |
CreateRsaKeyOptions | RSA key creation options |
CreateEcKeyOptions | EC key creation options |
CreateOctKeyOptions | Symmetric key options |
EncryptResult | Encryption result |
DecryptResult | Decryption result |
SignResult | Signing result |
VerifyResult | Verification result |
WrapResult | Key wrap result |
UnwrapResult | Key unwrap result |
| Algorithm | Key Type | Description |
|---|---|---|
RsaOaep | RSA | RSA-OAEP |
RsaOaep256 | RSA | RSA-OAEP-256 |
Rsa15 | RSA | RSA 1.5 (legacy) |
A128Gcm | Oct | AES-128-GCM |
A256Gcm | Oct | AES-256-GCM |
| Algorithm | Key Type | Description |
|---|---|---|
RS256 | RSA | RSASSA-PKCS1-v1_5 SHA-256 |
RS384 | RSA | RSASSA-PKCS1-v1_5 SHA-384 |
RS512 | RSA | RSASSA-PKCS1-v1_5 SHA-512 |
PS256 | RSA | RSASSA-PSS SHA-256 |
ES256 | EC | ECDSA P-256 SHA-256 |
ES384 | EC | ECDSA P-384 SHA-384 |
ES512 | EC | ECDSA P-521 SHA-512 |
| Algorithm | Key Type | Description |
|---|---|---|
RsaOaep | RSA | RSA-OAEP |
RsaOaep256 | RSA | RSA-OAEP-256 |
A128KW | Oct | AES-128 Key Wrap |
A256KW | Oct | AES-256 Key Wrap |
DefaultAzureCredential over secretsHardwareProtected = true for sensitive keysKeyOperationsExpiresOn for keys| Role | Permissions |
|---|---|
| Key Vault Crypto Officer | Full key management |
| Key Vault Crypto User | Use keys for crypto operations |
| Key Vault Reader | Read key metadata |
| SDK | Purpose | Install |
|---|---|---|
Azure.Security.KeyVault.Keys | Keys (this SDK) | dotnet add package Azure.Security.KeyVault.Keys |
Azure.Security.KeyVault.Secrets | Secrets | dotnet add package Azure.Security.KeyVault.Secrets |
Azure.Security.KeyVault.Certificates | Certificates | dotnet add package Azure.Security.KeyVault.Certificates |
Azure.Identity | Authentication | dotnet add package Azure.Identity |