Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

azure-keyvault-py

bởi thegovind

DevOps & Cloud
1.3kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Azure Key Vault SDK for Python.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

Database connection string retrieved securely at runtime without hardcoded credentials

Yêu cầu

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

Cài đặt

clawhub install thegovind/azure-keyvault-py

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết