Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Cedar: A New Policy Language (onecloudplease.com)
12 points by cjg on Jan 20, 2023 | hide | past | favorite | 3 comments


IAM policies are yet another example of something that started as a "simple" declarative specification, then people realized it wasn't actually simple and started tacking on poorly thought out language constructs until it became a new awful embedded turing complete language.

Rather than make a new language, they should have made a WASM or eBPF API and just let people use the full power of whatever language they want.

> Cedar is written in Rust, which makes it run in milliseconds

This statement is so weird. Milliseconds isn't particularly fast, and does that mean it runs in that time span regardless of complexity?


I like the Datalog-based policy language used in Biscuits.

https://www.biscuitsec.org/


So, "like IAM but generalized to all cloud providers"?

My worry is that there will be statements that only make sense with one cloud provider -- like, you're running on Google Cloud, and you want to make some declaration that only makes sense in Google Cloud. But I guess Cedar wouldn't allow that?

It's like SQL libraries: the ones that are supposed to be database-agnostic usually have some escape hatch to say "I need to call this Postgres-specific function."




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: