azure-security-keyvault-keys-dotnet

仓库创建 2026年1月17日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

面向需程序化密钥管理和加密操作的后端服务。

▸ 风险提示

操作密钥需严格权限控制并注意合规。

这个 Skill 做什么

管理 Azure Key Vault 中的加密密钥,支持创建、签名与验证等。

在 .NET 里帮你操作 Azure Key Vault 的加密密钥:创建、轮换、加密/解密、签名与验签等都能做,支持 Managed HSM。适合需要云端托管密钥或把密钥操作纳入应用的场景。接口上有 KeyClient 和 CryptographyClient,支持 RSA/EC 密钥并能与 HSM 集成,便于合规与审计。

▸ 展开 SKILL.md 英文原文

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".

开发编程AzureKeyVault密钥.NET通用
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-security-keyvault-keys-dotnet/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-security-keyvault-keys-dotnet/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Azure.Security.KeyVault.Keys (.NET)

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

## Installation

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

**Current Version**: 4.7.0 (stable)

## Environment Variables

```bash
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
├─
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有