Uladzislava Sheleh
03/29/2026, 12:29 AMAsk Inkeep
03/29/2026, 12:29 AMpermit support automation2
03/29/2026, 12:29 AMAsk Inkeep
03/29/2026, 12:29 AMProduction and Development environments, but you can create as many as you want (2) . This structure allows you to manage your CI/CD process in the same way you manage it in your SDLC .
For testing workflows, you can:
*Create isolated test environments* - Each environment is independent yet can replicate production settings, making it ideal for testing and development . Permission management is consistent across environments, ensuring that your CI/CD process is both secure and reliable .
*Run tests against a local PDP* - You can run the PDP locally using Docker for testing purposes (3) (2) :
docker run -it \
-p 7766:7000 \
--env PDP_API_KEY=<your-permit-api-key> \
--env PDP_DEBUG=True \
permitio/pdp-v2:latest
(3)
Then configure your SDK to point to the local PDP:
from permit import Permit
permit = Permit(
token="[your-api-key]",
pdp="<http://localhost:7766>",
)
*Automate environment creation for PRs* - For each pull request, you can automate the process of creating a new Permit environment, running integration and product tests against it, and then merging changes into production (2) .
The environment model provides flexibility and control across multiple stages of development, allowing isolated environments with seamless permission management .Ask Inkeep
03/29/2026, 12:29 AM