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".
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/11/2026
What it changes
Passed 23 of 23 test cases with the skill, and 12 of 23 without it.
Without skill52%
With skill100%
Checks it passed that the model alone missed
recommends DeveloperToolsCredential for local development
calls get_secret and unpacks the response model using into_model
calls delete_secret on the secret client passing the secret name
and 12 more in the full report
11 fixed12 passed either way0 still failing0 broke
Pass-rate lift
+48 pp
Tokens
+23%
Agent turns
0%
Response time
-52%
Model gemini-3.6-flashMeasured 8/11/2026v123 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 11
Prompt
I need to delete a secret named 'legacy-key' from Azure Key Vault in Rust. Show the client method call for deletion.
What was checked, without and with the skill
Checked
Without skill
With skill
calls delete_secret on the secret client passing the secret name
Missed
Passed
case-09 · gemini-3.6-flash · 8/11/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md160 linessingle file
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 official azure_security_keyvault_secrets crate 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
cargo add azure_security_keyvault_secrets azure_identity tokio futures
If your code uses azure_core types directly, add azure_core to Cargo.toml. If you only use azure_security_keyvault_secrets re-exports, direct azure_core dependency is optional.
Environment Variables
AZURE_KEYVAULT_URL=https://<vault-name>.vault.azure.net/ # Required for all operations
Authentication
Rust Azure SDK code must not use DefaultAzureCredential. The Rust identity crate does not provide that type.
use azure_identity::DeveloperToolsCredential;
use azure_security_keyvault_secrets::SecretClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Local dev: DeveloperToolsCredential. Production: use ManagedIdentityCredential.
let credential = DeveloperToolsCredential::new(None)?;
let client = SecretClient::new(