Specialist agents need database credentials and third-party API keys at runtime. Today secrets are environment variables baked at deploy time and rarely rotated. How should you design secrets management?
Select an answer to reveal the explanation.
Short Explanation
B is the Azure-standard approach. Key Vault for secrets/certificates, managed identity auth, RBAC on who can get which secret, and rotation policies—without baking secrets into images, git, or prompts. Git commits leak. Prompt-stored keys appear in traces and logs. One concatenated mega-secret destroys least privilege and rotation granularity. Wire agents to fetch just-in-time secrets with their own identities.
Full Explanation
Correct Answer — B
Secrets management for multi-agent solutions uses Azure Key Vault for secrets and certificates, with rotation, RBAC on secret access, and encryption—retrieved via identity, not embedded in code or prompts.
Why A is wrong: Secrets in git are a severe exposure and audit failure.
Why C is wrong: Keys in prompts leak via logs, traces, and context exfiltration risks.
Why D is wrong: A single shared blob prevents least-privilege secret access and clean rotation.
Exam tip: Key Vault + managed identity + RBAC + rotation; never prompt- or git-embed secrets.