Usage: cerbosctl [flags] A CLI for managing Cerbos The Cerbos Admin API must be enabled in order for these commands to work. The Admin API requires credentials. They can be provided using a netrc file, environment variables or command-line arguments. Environment variables - CERBOS_SERVER: gRPC address of the Cerbos server - CERBOS_USERNAME: Admin username - CERBOS_PASSWORD: Admin password When more than one method is used to provide credentials, the precedence from lowest to highest is: netrc < environment < command line. Examples # Connect to a TLS enabled server while skipping certificate verification and launch the decisions viewer cerbosctl --server=localhost:3593 --username=user --password=password --insecure decisions # Connect to a non-TLS server and launch the decisions viewer cerbosctl --server=localhost:3593 --username=user --password=password --plaintext decisions Flags: -h, --help Show context-sensitive help. --server="localhost:3593" Address of the Cerbos server ($CERBOS_SERVER) --username=STRING Admin username ($CERBOS_USERNAME) --password=STRING Admin password ($CERBOS_PASSWORD) --ca-cert=STRING Path to the CA certificate for verifying server identity --client-cert=STRING Path to the TLS client certificate --client-key=STRING Path to the TLS client key --insecure Skip validating server certificate --plaintext Use plaintext protocol without TLS Commands: get derived_roles (derived_role,dr) [ ...] [flags] get export_constants (ec) [ ...] [flags] get export_variables (ev) [ ...] [flags] get principal_policies (principal_policy,pp) [ ...] [flags] get resource_policies (resource_policy,rp) [ ...] [flags] get role_policies (role_policy,rlp) [ ...] [flags] get schemas (schema,s) [ ...] [flags] hub auth [flags] hub embedded_pdp (epdp) list-candidates (lc) [flags] List candidates to be included in the ePDP bundle hub store upload-git --store-id=STRING [flags] Upload files from a local git repository to the store hub store list-files --store-id=STRING [flags] List store files hub store download --store-id=STRING [flags] Download the entire store hub store get-files --store-id=STRING --output-path=STRING ... [flags] Download files from the store hub store replace-files --store-id=STRING [flags] Overwrite the store with the given set of files hub store add-files --store-id=STRING ... [flags] Add files to the store hub store delete-files --store-id=STRING ... [flags] Delete files from the store inspect policies (p) [ ...] [flags] Inspect policies in the store store export (e) store reload (r) [flags] store revisions purge (p) [flags] delete policy (policies,p) ... delete schema (schemas,s) ... disable policy (policies,p) ... enable policy (policies,p) ... put policy (policies,p) ... [flags] put schema (schemas,s) ... [flags] decisions [flags] Interactive decision log viewer audit [flags] View audit logs version [flags] Show cerbosctl and PDP version Run "cerbosctl --help" for more information on a command.