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
Use with care
50/ 100 5-point scale 2.5 / 5
1 2 3 4 5 6
1Trust15 / 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.

2Reliability8 / 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.

3Adaptability9 / 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.

4Convention8 / 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.

5Effectiveness6 / 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.

6Verifiability4 / 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 does this skill do, and when should you 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.

What are this skill's strengths and limitations?

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 do you install this skill?

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 do you use this skill?

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 Key Vault Keys for Java

Ground Java coding agents in secure Azure Key Vault and Managed HSM key-management workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for .NET

Guides .NET developers in managing Azure Key Vault keys and performing cryptographic operations securely.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for TypeScript

A practical TypeScript guide to creating, protecting, rotating, and using cryptographic keys in Azure Key Vault.

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 Key Vault Certificates for Rust

Guides Rust applications in creating, managing, and using X.509 certificates in Azure Key Vault.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for Rust

Guides Rust applications in securely storing and managing passwords, API keys, and connection strings in Azure Key Vault.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Rust

A practical guide to building Rust applications with the official Azure Cosmos DB NoSQL client.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for TypeScript

Securely store and retrieve application secrets in Azure Key Vault while managing key lifecycles from Node.js.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for Java

Guides Java developers through secure storage, retrieval, rotation, recovery, and backup of application secrets in Azure Key Vault.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Rust

A focused guide for building secure Azure Queue Storage messaging workflows in Rust.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Rust

Guides Rust developers through official Azure SDK patterns for managing blobs and containers.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Rust

A practical guide to sending, batching, and consuming Azure Event Hubs data with the official Rust SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for Rust

Guides Rust developers in sending and receiving Azure Service Bus messages through queues, topics, and subscriptions.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

Automation & Ops ✓ Microsoft · Official

Azure Compliance Auditor

Audit Azure resources with azqr and detect expiration risks across Key Vault keys, secrets, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for TypeScript

Build TypeScript apps with centralized settings, feature flags, and runtime configuration refresh.

Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Java

Guides Java apps in centralizing settings, feature flags, and release snapshots.

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 Cosmos DB TypeScript Skill

Gives TypeScript and JavaScript coding agents practical Cosmos DB data-access patterns.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB Python Service Builder

Build secure, testable Azure Cosmos DB NoSQL services for Python and FastAPI applications.

Related skills