Skip to content

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.

Notifications You must be signed in to change notification settings

varshith257/permit-cli

 
 

Repository files navigation

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'

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.6%
  • JavaScript 0.4%