Stop Giving Your AI Agents API Keys - Kim Maida, Keycard & Mason Egger, Temporal
Agents should use OAuth 2 token exchange tied to user identity instead of static API keys for resource access.
“Today, we often provide API keys to agents so they can access resources. And there are several problems with this approach. First, the credentials are not tied to a user ID or agent.”
In a workshop, Keycard's Kim Maida and Temporal's Mason Egger argue that giving AI agents static API keys grants unscoped, non-identity-bound access, and demonstrate an OAuth 2 token exchange standard that delegates only a scoped subset of a logged-in user's permissions to the agent. This matters as agentic systems move toward autonomous, MCP-based tool use where credential scoping and identity propagation become core security requirements.