
Why Amazon Bedrock Agents Use Cedar for Security
So here's the thing: agents built on LLMs aren't deterministic. You can't predict exactly what they'll do next. They adapt, they find workarounds, they solve problems in ways you didn't anticipate. That's powerful, but it's also terrifying from a security angle—you're essentially running code you can't fully control.
Amazon Bedrock AgentCore decided they needed a proper authorization layer, and they went with Cedar. Why Cedar specifically? Because Cedar is a language designed exactly for this: writing policies that define what an agent can and can't access. It's not a band-aid solution bolted on top of your infrastructure. The policy engine sits right there in the agent's decision-making loop, making sure every action gets validated before it happens. Think of it as a bouncer checking IDs at every single door, not just the front entrance.
The real win here is that Cedar policies are readable and testable. You can actually understand what you're authorizing. No more wondering if your permissions config will do what you think it does when an agent gets creative and decides to go off-script.