Dev & Engineering ✓ Microsoft · Official azure-key-vaultrustcryptographic-keysrsaelliptic-curvehsmenvelope-encryption

Azure Key Vault Keys for Rust

A practical Rust guide for creating, managing, and using RSA, EC, and HSM-protected keys in Azure Key Vault.

FollowSkills review · FSRS-2.0
Not recommended
50/ 100 5-point scale 2.5 / 5
Trust15 / 25 · 3.0/5

The skill restricts users to the official crate, recommends managed identity in production, forbids hardcoded credentials, and states that private keys remain server-side. However, deletion has no confirmation, retention, or recovery procedure; sensitive DEK handling is underexplained; and the sample generates a DEK from a random u32, so trust is materially deducted.

Reliability8 / 20 · 2.0/5

Installation, authentication, CRUD, pagination, and wrapping workflows are internally coherent. The skill contains no dedicated tests, version pinning, abnormal-input handling, or diagnostic failure examples, so configuration and API failures are largely delegated to the SDK; the static ceiling also applies.

Adaptability9 / 15 · 3.0/5

Triggers and intended Rust/Key Vault scenarios are reasonably clear, including key management, wrapping, signing, and HSM use. Non-fit boundaries, complete Azure-resource prerequisites, permission prerequisites, Chinese-language support, and mainland-China network reachability are not specified, so points are deducted.

Convention8 / 15 · 2.7/5

The document is layered into installation, environment, authentication, workflows, key types, RBAC, practices, and references, with clear MIT and author metadata. It lacks a crate-version policy, changelog, explicit maintenance owner/update path, and troubleshooting guidance; examples also assume omitted surrounding context.

Effectiveness6 / 15 · 2.0/5

The skill covers common Key Vault Keys operations and offers directly useful snippets for experienced Azure Rust developers. It lacks a statically verifiable complete project result, uses a production-inappropriate DEK example, and omits complete rotation, recovery, signing, and failure-handling guidance, limiting the score.

Verifiability4 / 10 · 2.0/5

The skill cites docs.rs, crates.io, and the Azure SDK source, while the repository material shows general CI, evaluation, and test infrastructure. No skill-specific tests or third-party execution evidence are provided, so key paths cannot be independently reproduced from the supplied material.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not use the sample random-u32 method for production DEKs; use an audited cryptographic RNG and define the key lifecycle explicitly.
  • Add confirmation, soft-delete/recovery handling, and permission review before delete_key; these safeguards are not documented.
  • The examples depend on Azure Key Vault, Entra ID, RBAC, and reachable external services; mainland-China reachability and offline alternatives are unspecified.
  • Compile against a pinned crate version and run project-level tests before use; this review did not execute the code.
See the full review method →

What it does & when to use it

This skill helps Rust developers use the Azure SDK for Azure Key Vault cryptographic keys. It covers key creation, property updates, deletion, pagination, and server-side cryptographic operations. The documented key types include RSA, EC, symmetric, and HSM-protected variants, with an envelope-encryption wrap/unwrap example. It requires the official azure_security_keyvault_keys crate and explains local development, production authentication, and Entra ID RBAC roles.

Guides installation of azure_security_keyvault_keys, azure_identity, tokio, and futures; creates a KeyClient with DeveloperToolsCredential; connects to Key Vault using AZURE_KEYVAULT_URL; creates EC or RSA keys, updates properties such as tags, deletes keys, and lists key properties with pagination; calls wrap_key and unwrap_key for envelope encryption; extracts key names and versions with ResourceExt; and identifies scenarios for signing or verifying data with Key Vault keys.

  1. A Rust developer building an Azure application that must create or manage RSA or EC keys in Key Vault.
  2. A team implementing envelope encryption that wraps and unwraps data-encryption keys through Key Vault.
  3. A security developer that needs to sign or verify data with Key Vault keys.
  4. A security engineering team that requires HSM-protected RSA, EC, or symmetric keys.

Pros & cons

Pros
  • Covers the core Key Vault key lifecycle: creation, updates, deletion, and listing.
  • Documents RSA, EC, Oct, EC-HSM, and RSA-HSM key types.
  • Includes copyable Cargo and Rust examples and explicitly requires the official crate.
  • Explains key-version retention, ResourceExt, client reuse, and local versus production authentication.
Limitations
  • Its scope is Key Vault Keys; it does not cover Key Vault secrets or certificates.
  • Real operations require Azure Key Vault, valid authentication, and suitable RBAC configuration.
  • The README’s test-coverage summary does not provide explicit evidence of dedicated tests for this Rust skill.
  • The source provides no pricing, performance benchmarks, or troubleshooting guide.

How to install

Install the repository’s skill collection with npx skills add microsoft/skills, then select the required skill in the wizard; skills are installed into the selected agent’s directory, such as .github/skills/ for GitHub Copilot. Add Rust dependencies with cargo add azure_security_keyvault_keys azure_identity tokio futures. Add azure_core only when importing its types directly.

How to use

Use a trigger such as keyvault keys rust, KeyClient rust, create key rust, encrypt rust, wrap key rust, or sign rust. Set the required variable AZURE_KEYVAULT_URL=https://<vault-name>.vault.azure.net/, then create a KeyClient with DeveloperToolsCredential as shown. Use ManagedIdentityCredential in production. For Entra ID access, assign Key Vault Crypto User or Key Vault Crypto Officer as appropriate.

FAQ

Is this skill for managing application passwords or connection strings?
Not as its primary scope. It covers Key Vault cryptographic keys; the README lists secrets and certificates as separate skills.
What Azure permissions are needed?
For Entra ID authentication, the source recommends `Key Vault Crypto User` for cryptographic use and `Key Vault Crypto Officer` for full key management.
What happens if the vault URL or credentials are missing?
`AZURE_KEYVAULT_URL` is required for all operations, and authentication must also be configured correctly for the KeyClient examples to work.
Does the source include pricing or cloud-cost information?
No. The supplied material does not state pricing for Azure Key Vault or for this skill.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills