Policy-as-Code

Governance and authorization rules expressed as executable, version-controlled, unit-tested code evaluated at runtime per request — the dynamic policy layer above static IAM.

Also known as: policy-as-code, policy as code, OPA, Open Policy Agent, Rego, AWS Cedar, Amazon Verified Permissions, HashiCorp Sentinel, Kyverno, OPA Gatekeeper, admission controller, policy engine

How authors use it

Oldest first (extraction date when no publication date is known).

AuthorTheir termTheir meaning
Governing AI in the Cloud: A Practical Guide for Architects
Dave Ward · 2026-06-15
Policy-as-codeGovernance rules expressed as executable, version-controlled, testable code (OPA/Rego, AWS Cedar, HashiCorp Sentinel; Kyverno/OPA-Gatekeeper for admission control) that evaluate contextual conditions IAM cannot express — data age, model-registration status, environment, break-glass — at runtime, per request, and are unit-tested in CI/CD like application code.
Article: Multi-Agent AI for Production Security Operations: An A2A and MCP Architecture in a 5G Core
Willem Berroubache · 2026-07-23
Policy-as-code (reviewer's safety layer)Safety constraints expressed as version-controlled, independently testable, deterministic rules (OPA/Rego) evaluated by the reviewer agent against a separately versioned data/thresholds document — explicitly not reasoning an LLM performs at runtime from a prompt.

Documents (13)

Propositions touching this concept (8)

By publication month, oldest first (extraction month when no publication date is known).

2026-06

2026-07

Open gaps (18)