CLI Overview
The Permit CLI is a powerful command-line tool for managing your Permit projects, policies, users, and environments. It enables you to automate workflows, integrate with CI/CD, and manage authorization as code—directly from your terminal.
Environments and Terraform
Automate environment creation and management
Permit API Commands
Simplifies the usage of Permit’s API, allowing you to perform most API actions directly through the CLI.
Policy Decision Point (PDP) Commands
This collection of commands aims to improve the experience of working with the PDPs (Permit PDP or Open Policy Agent).
Policy - AI, Templates, OpenAPI
Simplified Policy Creation
Policy Testing
This collection of commands helps you test and validate your authorization policies.
Custom Rego (OPA) and GitOps
Extend and customize authorization policies with GitOps flows and custom Rego logic.