Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.13 KB

permit CLI

Permit CLI

A command line utility from Permit.io to work with everything IAM and Authorization. A one-stop-shop to manage all your Authorization tools (OPA, OPAL, CEDAR, AVP, openFGA, ...) as well as the Permit Service.

  • Manage the Permit PDP and perform permissions checks directly from the CLI
  • Manage the Permit API
  • Interact with OPA (Open Policy Agent)
  • Coming Soon: Interact with OPAL
  • Coming Soon: Interact with Cedar-Agent
  • Coming Soon: Interact with OpenFGA

This tool is in early stages of development

Give this Repo a ⭐ to support and stay updated

Based on Pastel

Run for development

  • Checkout this repo
  • run npm install
  • run npx tsx ./source/cli.tsx

CLI

$ permit-cli --help

  Usage
    $ permit-cli

  Examples
    $ permit-cli pdp check -u [email protected] -a create -r task
    Checking user="[email protected]" action=create resource=task at tenant=default
    ALLOWED

    $ permit-cli api-key permit_key_..........
    Key saved to './permit.key'