CLI Overview
Install the Permit CLI, sign in to your Permit.io account, run your first command, and find the reference page for each command group.
Environments and Terraform
Reference for the Permit CLI commands that create, copy, delete, and select environments, invite environment members, and export an environment to Terraform.
Permit API Commands
Reference for the Permit CLI commands that sync users, list users, assign and unassign roles, and create and list Permit Proxy configurations through the Permit API.
PDP Commands
Reference for the Permit CLI commands that run a PDP container, check permissions and URL permissions against a PDP, and show PDP statistics.
Policy - AI, Templates, OpenAPI
Reference for the Permit CLI commands that create a policy with a wizard, flags, natural language, a template, or an OpenAPI spec, and print the policies of an OPA server.
Policy Testing
Reference for the Permit CLI commands that compare a PDP's decisions with your audit logs and generate end-to-end policy tests.
GitOps
Reference for the Permit CLI commands that connect a GitHub repository to a Permit environment for GitOps and clone the policy repository.