The OpenAI Agents provider gives your agents governed API keys, tool authentication headers, and scoped credentials for multi-agent handoffs — all backed by the vault’s audit trail and policy enforcement.
Create scoped credentials for multi-agent handoffs. The provider validates that the requested scopes are a subset of the passport’s allowed scopes before issuing the credential.
const handoffCred = await oai.getHandoffCredential( 'openai-prod', // passport name 'research-agent', // target agent ['read'], // allowed scopes (must be subset of passport scopes));
Handoff credentials enforce the principle of least privilege. The requested scopes must be a subset of the passport’s scopes — scope widening is never allowed.