跳到正文
TakoAPI
返回技能列表

azure-keyvault-py

由 thegovind 提供

DevOps & Cloud
1.3k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Azure Key Vault SDK for Python.

描述

该技能的功能

Python SDK for Azure Key Vault covering secrets, cryptographic keys, and certificates. Provides four client classes: SecretClient, KeyClient, CryptographyClient, and CertificateClient. Supports both sync and async patterns with soft-delete and version tracking.

Centralizes secret management with RBAC, versioning, soft-delete, and HSM-backed key storage that environment variables or config files cannot provide.

何时使用

  • Retrieving database passwords at app startup without hardcoding credentials
  • Encrypting sensitive user data with RSA keys managed in the vault
  • Rotating API keys across microservices using secret versioning
  • Managing TLS certificates for web applications
  • Signing and verifying data payloads in distributed systems

示例工作流

输入

User asks: retrieve the database connection string stored in Azure Key Vault

智能体
  1. 1

    Authenticate using DefaultAzureCredential

  2. 2

    Initialize SecretClient with the vault URL from AZURE_KEYVAULT_URL

  3. 3

    Call get_secret with the target secret name

  4. 4

    Return the secret value to the calling application

输出

Database connection string retrieved securely at runtime without hardcoded credentials

前置要求

  • Azure subscription
  • Azure Key Vault instance
  • AZURE_KEYVAULT_URL environment variable
  • Azure credentials configured via managed identity, service principal, or Azure CLI login

安装

clawhub install thegovind/azure-keyvault-py

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接