Keyvault Secret Reader

Read a named secret from Azure Key Vault using the caller's (agent's) managed identity, without ever placing the secret value in a prompt or tool argument. Use when an agent needs a credential, API key, connection string, or `sig` held in Key Vault — including from inside a managed harness or sandbox where DefaultAzureCredential resolves to the agent identity. Requires the identity to hold the 'Key Vault Secrets User' role on the vault.

azure-ai-foundry Updated

File contents

azure-ai-foundry/foundry-samples/tree/main/samples/python/prompt-agents/agent-identity-and-skills/skills/keyvault-secret-reader commit 641f0b6947

Frequently asked questions

npx skillmds@latest add azure-ai-foundry/keyvault-secret-reader