opa

command module
v0.0.0-...-8e73b54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Sample Policy Server

This Go program is a sample policy server for wasmCloud. It uses NATS to interact with wasmCloud over its pluggable policy service API, OPA as a policy engine, and a simple policy.rego rule which ensures that every component or provider started in a wasmCloud lattice is signed by the official wasmCloud issuer key.

You can read more about the policy service API in our documentation.

Running the Policy Server

Simply use go run . to build and run the policy server once you've started a NATS server that is configured to listen on localhost:4222.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL