What problem does it solve?
Managing cryptographic keys and performing cryptographic operations in Azure Key Vault can be complex and error-prone; this Skill consolidates SDK usage patterns, lifecycle operations, and cryptography workflows into actionable guidance so developers can securely create, rotate, encrypt/decrypt, sign/verify, and back up keys without guessing about APIs or poller patterns.
Core Features & Use Cases
- Key Lifecycle Management: Create, import, rotate, list, soft-delete, recover, and purge keys using KeyClient with recommended options and rotation policies.
- Cryptographic Operations: Perform encrypt/decrypt, sign/verify, and wrap/unwrap operations via CryptographyClient, including handling of algorithm selection and digest management.
- Operational Patterns & Safety: Examples for poller-based long-running operations, error handling using RestError, environment-driven configuration, and backup/restore strategies for secure workflows.
- Use Case: Integrate into a TypeScript backend to generate RSA keys for encrypting secrets, rotate keys on a schedule, and sign payloads for downstream verification while preserving auditability.
Quick Start
Instantiate DefaultAzureCredential, create a KeyClient pointed at your vault URL, and call createKey or getKey to manage a key.