Home

Awesome

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.

ExampleLanguagesDescription
tinytodoRust, PythonA simple application for managing task lists that uses Cedar for authorization demonstrating the usage of the Cedar Rust APIs
tinytodo-goGo, PythonA simple application for managing task lists that uses Cedar for authorization demonstrating the usage of the Cedar Go APIs
cedar-java-hello-worldJavaA simple application demonstrating the usage of the Cedar Java APIs
cedar-rust-hello-worldRustA simple application demonstrating the usage of the Cedar Rust APIs
cedar-wasm-exampleTypeScriptA simple application demonstrating the usage of the Cedar Wasm APIs
cedar-policy-language-in-actionCedarCedar policies and schemas for the Cedar policy language in action workshop
cedar-example-use-casesCedarCedar policies and schemas for two example applications
oopsla2024-benchmarksVariousCedar 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.