← Explore all skills

CLOUD DEVELOPMENT / Microsoft

Azure Key Vault Secrets library for Rust

Microsoft's Rust guide to azure_security_keyvault_secrets: setting, reading, tagging, deleting and listing Key Vault secrets, with a structured error for a missing secret.

“Azure Key Vault Secrets library for Rust. Store and retrieve secrets, passwords, and API keys. Triggers: "keyvault secrets rust", "SecretClient rust", "get secret rust", "set secret rust", "list secrets rust". ”

01 / THE REASONING

Why this made the selection.

  • It covers set, get, update properties (content type and tags), delete, and paged listing of secret properties with SecretClient.
  • Its error-handling sample matches on the get_secret result and prints the structured ErrorResponse with its code and message.
  • It names the RBAC roles Key Vault Secrets User (read) and Key Vault Secrets Officer (full management), requires the official azure_security_keyvault_secrets crate from the azure-sdk crates.io user, and rules out DefaultAzureCredential in Rust.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • .github/plugins/azure-sdk-rust/skills/azure-keyvault-secrets-rust/SKILL.md (all 171 lines)
  • .github/plugins/azure-sdk-rust/README.md
  • .github/plugins/azure-sdk-rust/.claude-plugin/plugin.json
  • README.md
  • LICENSE

Our findings

  • The Installation line adds azure_security_keyvault_secrets, azure_identity, tokio and futures; azure_core is optional unless its types are used directly.
  • The secrets skill names one environment variable, AZURE_KEYVAULT_URL, required for all operations.
  • Practice 7 says SecretClient is thread-safe and should be created once and shared across tasks.
  • Practice 1 says to add and remove dependencies with cargo commands and never edit Cargo.toml directly.
  • The frontmatter declares license MIT, author Microsoft and package azure_security_keyvault_secrets. It declares no allowed-tools.

Not established by this review

  • No secret was set, read, updated, listed or deleted.
  • No crate was added and no Rust program was built.
  • Neither the azure-sdk-rust plugin nor azure-keyvault-secrets-rust was installed.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗
  1. The azure-sdk-rust plugin README prints `npx skills add microsoft/skills --skill azure-sdk-rust` under Install. It installs the whole azure-sdk-rust plugin, whose skill table lists azure-keyvault-secrets-rust; it does not install that skill alone.
  2. The same README prints `/plugin install azure-sdk-rust@skills`, which also brings in azure-keyvault-secrets-rust together with every other skill in the plugin. The repository README runs plugin commands inside Copilot CLI after `/plugin marketplace add microsoft/skills`.

Before you start

  • The skill prints `cargo add azure_security_keyvault_secrets azure_identity tokio futures`. This review did not run it.
  • A Key Vault at AZURE_KEYVAULT_URL and an Entra identity holding Key Vault Secrets User or Key Vault Secrets Officer.
  • Copilot CLI, where `/plugin install azure-sdk-rust@skills` adds this secrets skill with the rest of the plugin.

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-rust/skills/azure-keyvault-secrets-rust/SKILL.md

    Supports: name, upstreamDescription, summary, whySelected, bestFor, limitations, review.findings, install.prerequisites, access.permissions

  2. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-rust/README.md

    Supports: install.sourceUrl, install.steps, limitations (install scope)

  3. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-rust/.claude-plugin/plugin.json

    Supports: publisher, license (plugin licence field)

  4. Repository README ↗Checked

    https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/README.md

    Supports: compatibility, install.steps (Copilot CLI plugin commands)

  5. Repository LICENSE ↗Checked

    https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE

    Supports: license

  6. https://github.com/microsoft/skills/commit/4a2873faffc1b101a33a0b59c24713d4ed78142f

    Supports: limitations (last commit date)

Evidence & Ask