Sign in
Explore
Skills · SkillDevOps & CloudTesting & SecuritySecrets & privacyReviewed

azure-keyvault-py

Azure Key Vault for Python: secrets, keys and certificates with secure storage.

Kind
Skill
Works with
Claude Code
Languages
Python
Source
microsoft/skills @ 2130750147de
Path
.github/plugins/azure-sdk-python/skills/azure-keyvault-py/SKILL.md
Jobs
Implementation
Topics
Secrets & privacy

Credit

Made by
microsoft
Original
github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/azure-keyvault-py/ (the skill folder)
  • 2 file(s) the skill refers to
  • 2 other files in the folder: references/capabilities.md, references/non-hero-scenarios.md
Runs scripts
Yes
  • shell block in the text
Uses the network
Yes
  • downloads Python packages
Needs secrets
Yes
  • AZURE_TOKEN_CREDENTIALS
Reads environment variables
  • AZURE_TOKEN_CREDENTIALS
Source revision
2130750147de
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Azure Key Vault SDK for Python

Secure storage and management for secrets, cryptographic keys, and certificates.

## Installation

```bash
# Secrets
pip install azure-keyvault-secrets azure-identity

# Keys (cryptographic operations)
pip install azure-keyvault-keys azure-identity

# Certificates
pip install azure-keyvault-certificates azure-identity

# All
pip install azure-keyvault-secrets azure-keyvault-keys azure-keyvault-certificates azure-identity
```

## Environment Variables

```bash
AZURE_KEYVAULT_URL=https://<vault-name>.vault.azure.net/  # Required for all auth methods
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
```

## Authentication & Lifecycle

> **🔑 Two rules apply to every code sample below:**
>
> 1. **Prefer `DefaultAzureCredential`.** It works locally (Azure CLI / VS Code / Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account/API keys — they bypass Entra audit and rotation.
>    - Local dev: `DefaultAzureCredential` works as-is.
…