Implementation
Implementation Notes for Scoping Credentials Per Workflow Step
Credentials scoped to workflow steps instead of agent identities shrink both the blast radius of leaks and the ambiguity of audit trails.
An agent-lifetime credential is a promise that nothing the agent ever does will exceed what the credential allows. Step-scoped credentials make that promise small enough to keep.
Step scoping in practice
- Issue credentials at step entry, revoke at step exit.
- Deny credential use from any other step, even same-agent.
- Audit credential issuance and use under the same correlation id.
Use the security docs, AuthGuardian, and threat model to shrink credential blast radius to a single step.