Dev & Engineering ✓ Microsoft · Official rustazure-key-vaultsecret-managementazure-identitycargorbac

Azure Key Vault Secrets for Rust

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

FollowSkills review · FSRS-2.0
Not recommended
43/ 100 5-point scale 2.2 / 5
Trust10 / 25 · 2.0/5

The document restricts use to the official crate, recommends managed identity, prohibits hardcoded credentials, and lists RBAC roles, providing basic permission and data-flow guidance. However, the example directly prints secret.value, does not warn against log disclosure, provides no confirmation or rollback/recovery guidance for deletion, and omits transport, audit, and sensitive-output handling; points are deducted.

Reliability7 / 20 · 1.8/5

The installation, authentication, get/set/update/delete, pagination, and error-handling paths are broadly consistent, and structured errors are mentioned. However, there are no skill-specific tests, pinned dependency versions, retry/timeout/network-failure guidance, or execution evidence; AZURE_KEYVAULT_URL is documented but not actually used in the client example. The static cap therefore applies.

Adaptability8 / 15 · 2.7/5

Trigger phrases, Rust/Azure Key Vault scenarios, and main operations are reasonably clear, and local-versus-production identity guidance is included. Non-fit cases, input/output boundaries, deletion confirmation requirements, and Chinese/mainland-China environment fit are not specified; the core service also depends on Azure reachability, so points are deducted.

Convention8 / 15 · 2.7/5

The SKILL.md has clear progressive sections for installation, environment variables, authentication, workflows, errors, RBAC, best practices, and references; license and author metadata are present. It lacks crate/SDK version policy, changelog, explicit maintenance owner/update path, and troubleshooting FAQs. The strong cargo add-only instruction also introduces an unnecessary workflow assumption.

Effectiveness6 / 15 · 2.0/5

The material covers common secret CRUD, pagination, and identity setup, so it can directly assist Rust SDK code generation. But the examples omit actual environment-variable URL loading, safe production output, deletion confirmation, and recovery considerations, and there is no execution validation for this skill; substantial manual security and correctness review remains.

Verifiability4 / 10 · 2.0/5

The skill supplies auditable docs.rs, crates.io, and Azure SDK source references and identifies the official crate. However, references are not revision-pinned, and the supplied repository material shows no skill-specific reproducible tests or third-party execution results; the visible CI and harness evidence is largely generic, so static verifiability remains limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • The example prints the Key Vault secret value to standard output; production code should avoid logging secret material.
  • Deletion has persistent external effects; the guidance should require explicit confirmation and explain recovery or soft-delete prerequisites.
  • A compatible crate/SDK version should be pinned and the API examples verified against that version.
  • AZURE_KEYVAULT_URL is declared required, but the example still uses a placeholder URL; safe loading and validation should be shown.
  • Azure reachability and tenant authentication depend on external network and configuration; mainland-China connectivity is not addressed.
See the full review method →

What it does & when to use it

This is a Rust SDK guidance skill from Microsoft's Agent Skills repository for Azure Key Vault Secrets. It focuses on the official azure_security_keyvault_secrets crate and explains client creation, authentication, and secret management. The skill covers setting, retrieving, updating, deleting, and paginating secret properties, along with missing-secret error handling. It fits developers already working with Rust and Azure Key Vault, but it does not provide a standalone test suite or complete application scaffold.

Guides an agent to write or modify Rust code that uses SecretClient to get, set, update, and delete Key Vault secrets; iterates through secret properties with a Pager; extracts secret names and versions with ResourceExt; configures DeveloperToolsCredential or ManagedIdentityCredential; handles structured errors containing codes and messages; and identifies the Entra ID roles Key Vault Secrets User and Key Vault Secrets Officer.

  1. A Rust developer needs to retrieve application passwords or API keys from Azure Key Vault.
  2. A backend team needs to create, update, or delete Key Vault secrets from a Rust service.
  3. An application must iterate through Key Vault secret properties with pagination.
  4. A developer needs separate local-development and production authentication patterns for Azure.
  5. A team needs guidance for diagnosing missing-secret and other Key Vault request errors.

Pros & cons

Pros
  • Covers the basic lifecycle operations for Key Vault Secrets.
  • Explicitly directs users to the official Azure SDK crate.
  • Includes authentication, RBAC, pagination, and structured error-handling examples.
  • Provides concrete guidance on model updates and reusing a thread-safe client.
Limitations
  • Limited to Rust Azure Key Vault Secrets; it does not cover keys or certificates.
  • Requires an Azure Key Vault URL, credentials, and suitable RBAC permissions.
  • The source does not specify version pinning, complete test scenarios, or offline operation.
  • The collection README describes installation for the broader repository, not a standalone copy procedure for this plugin path.

How to install

This skill is part of the microsoft/skills collection. Run npx skills add microsoft/skills and select the required skill in the wizard; the collection is installed into the selected agent directory. The README does not document a standalone installation command for this Rust skill. For project dependencies, run cargo add azure_security_keyvault_secrets azure_identity tokio futures; add azure_core only when using its types directly.

How to use

Ask the coding agent for a task such as “use Rust and SecretClient to get a secret from Azure Key Vault” or “list Key Vault secrets with Rust pagination.” Set AZURE_KEYVAULT_URL=https://<vault-name>.vault.azure.net/ and require the official azure_security_keyvault_secrets crate. Use DeveloperToolsCredential locally, ManagedIdentityCredential in production, and never hardcode credentials.

FAQ

Which authentication method should production use?
The skill recommends DeveloperToolsCredential for local development and ManagedIdentityCredential for production.
What Azure permissions are needed to read secrets?
For Entra ID authentication, assign Key Vault Secrets User for read access or Key Vault Secrets Officer for full secret management.
How are missing secrets handled?
The call returns an error, and the example shows how to inspect a structured ErrorResponse with an error code and message.
Can this skill manage Key Vault keys or certificates?
No. Its scope is Key Vault Secrets; the repository lists separate Rust skills for keys and certificates.

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