# What is credential custody for AI agents?

Source: https://corespeed.io/glossary/credential-custody

Credential custody means your agent asks for an action, and the platform performs it with the right account. The agent never holds the OAuth token or API key. CoreSpeed stores each credential inside your organization and refreshes it there where the provider allows. If an agent's context leaks, no app credential leaks with it.

It rests on the documentation: [Connectors](https://corespeed.io/docs/connectors)

At length, on the blog: https://corespeed.io/blog/what-is-credential-custody-for-ai-agents

## What people search for

- ai agent credential management
- ai agent secrets management
- credential custody
- ai agent api key security

## Questions

### Does the agent ever see the OAuth token?

No. The agent sees tools and calls them. The token is never in the request, the response or the agent's context.

### Why not put the token in the agent's environment?

It leaks through logs, transcripts and prompt injection, and every copy needs rotating by hand. Custody keeps one copy, inside your organization.

### Does custody decide whether an action runs?

No. Custody protects the credential. Your approval policy decides which writes run, which ask you first and which never run.

### What happens when a credential stops working?

The connection shows needs_reauth, and its tools stay listed. You reconnect once in Dashboard → Connectors, and every caller recovers.

All terms: https://corespeed.io/glossary (Markdown: https://corespeed.io/glossary.md)

## Related pages

- [Approval gates for AI agent tool actions](https://corespeed.io/solutions/agent-approvals): Set approval policies for writes through CoreSpeed. Review held tool actions while your team keeps using its preferred agents.
- [OAuth vs API key for AI agents: which to use](https://corespeed.io/glossary/oauth-vs-api-key): OAuth or a pasted API key: how each connects an app to your AI agent, how refresh, rotation and revocation differ, and which to pick.
- [Share an MCP server or connector with your team](https://corespeed.io/glossary/shared-connection): A shared connection is an app account your whole team and its agents can use, with no token handed out. What to share, what to keep private.
- [MCP gateway for your agents and tools](https://corespeed.io/solutions/mcp-gateway): Reach connected apps, built-in tools, and your own remote MCP servers through one authenticated CoreSpeed MCP endpoint.

## Sources

- Connectors: https://corespeed.io/docs/connectors
- Authentication: https://corespeed.io/docs/authentication
- What is credential custody for AI agents?: https://corespeed.io/blog/what-is-credential-custody-for-ai-agents

Reviewed 2026-11-14.

## Links

- Product overview: https://corespeed.io/ (Markdown: https://corespeed.io/index.md)
- Documentation: https://corespeed.io/docs
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
