brokenchapt3r/astralnexus/azure-keyvault-secrets-rust
Claude Code and agent skill by brokenchapt3r/astralnexus
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install brokenchapt3r/astralnexus/azure-keyvault-secrets-rustSKILL.md
The same SKILL.md was published earlier as gunnerylee4756/gunnerylee4756/azure-keyvault-secrets-rust.
Azure Key Vault Secrets library for Rust
Secure storage for passwords, API keys, and connection strings.
Use this skill when:
- An app needs to store or retrieve secrets from Azure Key Vault in Rust
- You need to set, get, update, or delete secrets
- You need to list secret properties with pagination
- You need error handling for missing secrets
IMPORTANT: Only use the officialazure_security_keyvault_secretscrate published by the azure-sdk crates.io user. Do NOT use unofficial or community crates. Official crates use underscores in names and none have version 0.21.0.
Installation
If your code usesazure_coretypes directly, addazure_coretoCargo.toml. If you only useazure_security_keyvault_secretsre-exports, directazure_coredependency is optional.
Environment Variables
Authentication
Rust Azure SDK code must not use DefaultAzureCredential. The Rust identity crate does not provide that type.
Prefer the crate README/examples when checking whether pagers yield items directly and how ResourceExt is used in public examples.
Core Workflow
Set Secret
Update Secret Properties
Delete Secret
List Secrets (Pagination)
list_secret_properties returns a Pager<T> — iterate items directly:
Error Handling
RBAC Roles
For Entra ID auth, assign one of these roles:
| Role | Access | |
|---|---|---|
Key Vault Secrets User | Read secrets | |
Key Vault Secrets Officer | Full secret management |
Best Practices
- Use `cargo add` to manage dependencies, never edit `Cargo.toml` directly. Add and remove Rust SDK dependencies with cargo commands instead of manual manifest edits.
- Add `azure_core` only when importing `azure_core` types directly. If your code imports
azure_core::http::Url,azure_core::http::RequestContent, orazure_core::error::ErrorKind, includeazure_core; otherwise a direct dependency is optional. - Use `DeveloperToolsCredential` for local dev, `ManagedIdentityCredential` for production — Rust does not provide a single
DefaultAzureCredentialtype - Never hardcode credentials — use environment variables or managed identity
- Use `..Default::default()` with
#[allow(clippy::needless_update)]for model struct updates - Use `ResourceExt` to extract resource name/version from secret IDs
- Reuse clients —
SecretClientis thread-safe; create once, share across tasks - Run `cargo clippy -- -D warnings` when the prompt, eval, or CI expects lint-clean output
Reference Links
| Resource | Link | |
|---|---|---|
| API Reference | https://docs.rs/azure_security_keyvault_secrets/latest/azure_security_keyvault_secrets | |
| crates.io | https://crates.io/crates/azure_security_keyvault_secrets | |
| Source Code | https://github.com/Azure/azure-sdk-for-rust/tree/main/sdk/keyvault/azure_security_keyvault_secrets |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/AstralNexus/skills/vendor/microsoft/azure-keyvault-secrets-rust/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brokenchapt3r/astralnexus/azure-keyvault-secrets-rust)