christophwille / dotnet-opa-wasm

Call Open Policy Agent (OPA) policies in WASM (Web Assembly) from .NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Policy Agent for .NET

NuGet package

Call Open Policy Agent (OPA) policies in WASM (Web Assembly) from C# .NET Core

A working sample is in src\Opa.Wasm.ConsoleSample. It mirrors the node sample, but not the node library (currently builtins not hooked up properly).

References

(KubeCon NA is just starting, so this is an old video) You want to watch Deep Dive: Open Policy Agent - Torin Sandall, Styra first.

Docs are at https://github.com/open-policy-agent/opa/blob/master/docs/content/wasm.md

Writing policies https://www.openpolicyagent.org/docs/latest/how-do-i-write-policies/

Example and Integrations https://github.com/open-policy-agent/contrib

Other Open Policy Agent WebAssemby SDKs

Wasmtime Infos

GitHub repo https://github.com/bytecodealliance/wasmtime-dotnet

Docs https://bytecodealliance.github.io/wasmtime-dotnet/articles/intro.html

About

Call Open Policy Agent (OPA) policies in WASM (Web Assembly) from .NET Core

License:MIT License


Languages

Language:C# 88.9%Language:HTML 4.6%Language:PowerShell 3.0%Language:CSS 1.7%Language:Open Policy Agent 1.6%Language:JavaScript 0.3%