/cedar-examples

Some examples of using the Cedar language to specify authorization

Primary LanguageRustApache License 2.0Apache-2.0

Cedar Examples

This repository contains examples demonstrating the use of Cedar, a policy language for writing and enforcing authorization policies in your applications. The following table summarizes relevant information about the applications. Please refer to the README.md files in the subfolders for details about how to build and run them.

Example Languages Description
tinytodo Rust, Python A simple application for managing task lists that uses Cedar for authorization
cedar-java-hello-world Java A simple application demonstrating the usage of the Cedar Java APIs
cedar-rust-hello-world Rust A simple application demonstrating the usage of the Cedar Rust APIs
cedar-policy-language-in-action Cedar Cedar policies and schemas for the Cedar policy language in action workshop
cedar-example-use-cases Cedar Cedar policies and schemas for two example applications
oopsla2024-benchmarks Various Cedar policies and schemas, along with benchmarking code and scripts, used for the performance evaluation of the OOPSLA2024 paper on Cedar

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.