CTL-170 · agent

Vaulted Secrets for Agents

Keep agent credentials in a vault and hand them out per task, never in prompts or config files.

TechnicalEffort MediumEffectiveness High

Apply privileged access management to every credential an agent uses. Secrets should stay in a managed vault and be brokered at execution time, and should not live in prompts, MCP configs, agent files or anywhere the agent or its operator can read them. Issue credentials per session and per task, scoped to one resource and action, and expire them when work finishes. When extra privilege is needed, grant just-in-time, time-boxed elevation instead of standing rights.

Put it in place

  1. 01Move all agent secrets into a vault and remove them from prompts and configs.
  2. 02Broker short-lived, task-scoped credentials at run time.
  3. 03Grant temporary elevation with automatic expiry.
  4. 04Scan repos and agent files for leaked secrets.

Counters 4 techniques