/oap-example

Open Policy Agent example

Primary LanguageOpen Policy AgentApache License 2.0Apache-2.0

Call OPA API:

$ curl -s -XPOST -H 'Content-type: application/json' -d '{"input":{"user":"liemlhd","action":"read","object":"id123","type":"dog"}}' http://127.0.0.1:8181/v1/data/app/rbac