Skip to main content
This page is generated from the CLI’s command table. Do not edit it by hand; run npm run generate:cli-reference after changing a command.

Global options

These work with every command.

Commands

policy status

List pending policy changes for one policy version.

Options

This command takes no options of its own.

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

policy propose

Propose a policy change. The file must match the name and version.

Options

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

approval sign

Sign a step-up envelope on the checker’s own machine. Nothing is sent.

Options

Environment

This command reads no environment variables.

Example

approval submit

Send a signed envelope with the checker’s own token.

Options

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

approver list

List approver-key changes (add or revoke), optionally by status.

Options

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

approver propose-add

Propose adding an approver key, granted the listed capabilities.

Options

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

approver propose-revoke

Propose revoking an approver key that was added through approver changes.

Options

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

approver submit

Approve or reject an approver change, with the checker’s signed step-up envelope.

Options

Environment

  • PARMANA_TOKEN
  • PARMANA_API_URL
  • PARMANA_PROFILE
  • PARMANA_CONFIG

Example

keys generate-api-key

Generate a caller API key on this machine: the raw key, its PARMANA_API_KEYS entry, and optionally a step-up key pair. Writes owner-only files; prints no secret.

Options

Environment

This command reads no environment variables.

Example

keys generate-approver-key

Generate an approver Ed25519 key pair. The private key stays with the approver; send the public key to the operator.

Options

Environment

This command reads no environment variables.

Example

log verify

Check the approval log’s chain, signatures and policy coverage. Offline.

Options

Environment

This command reads no environment variables.

Example

log export

Append approvals from the database that the log does not hold yet.

Options

Environment

  • CI_DATABASE_URL

Example

log check-db

Compare the log with the database without writing.

Options

Environment

  • CI_DATABASE_URL

Example

completion

Print a shell completion script.

Options

This command takes no options of its own.

Environment

This command reads no environment variables.

Example

Exit codes