Skip to content

cedar-policy/cedar-examples

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 demonstrating the usage of the Cedar Rust APIs
tinytodo-go Go, Python A simple application for managing task lists that uses Cedar for authorization demonstrating the usage of the Cedar Go APIs
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-wasm-example TypeScript A simple application demonstrating the usage of the Cedar Wasm 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.

About

Some examples of using the Cedar language to specify authorization

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published