CertKeen

Claude Certified Architect — Professional · Free practice question 11 of 12

Vault credentials in Managed Agents

An agent running on Claude Managed Agents at Selwood Tech must call a third-party API with a secret key. Which approach keeps the secret out of the agent's sandbox?

  1. A.Ask the user to paste the key into the session chat at the start of every run.
  2. B.Store it as a vault credential, which Anthropic substitutes at egress so the sandbox only sees a placeholder.
  3. C.Write the key into the agent's system prompt so the agent can include it in requests.
  4. D.Upload the key as a file in the session container so the agent can read it when needed.
Show answer and explanation

Correct answer: B. Store it as a vault credential, which Anthropic substitutes at egress so the sandbox only sees a placeholder.

Why: Anthropic's Managed Agents documentation describes vault credentials that are stored by Anthropic and substituted at egress, so the sandbox holds only a placeholder (unless a service echoes the secret back). Prompts, container files and chat messages all put the secret where the model and logs can see it.

More free Claude Certified Architect — Professional questions