Securing Backend Agents
summary
Shows a concrete Curity + Microsoft Azure pattern: use JWT access tokens with agent attributes (agent role, department) and OIDC token exchange so back-end agents run with least privilege and APIs require specific claims. Provides an AZD Curity example that spins up gateways, MCP APIs and a back-end agent; developer workflow uses a mock access token issuer for C# APIs with XUnit and Docker for agent tests. End-to-end template runs locally and ensures data stays protected even if the LLM issues bad requests.
AI-written summary · about
chapters (10)
- 0:00Introduction to backend agents
- 1:46Risks in AI-powered flows
- 2:48Three security ingredients
- 3:49OAuth 2.0 and access tokens
- 5:54Designing access tokens
- 7:19Agent attributes in tokens
- 9:26Microsoft example deployment
- 11:31Developer setup techniques
- 12:55Demonstration of AI flow
- 13:57Summary and key takeaways
