Skip to main content

Lemma.id integration CLI

Project description

lemma-cli

lemma-cli is the command-line interface for integrating Lemma.id authentication and running launch-grade auth checks.

Install

pipx install lemma-cli

OpenClaw Starter Path

lemma setup-openclaw --api-base https://lemma.id --json
lemma safety-status --firewall-url http://127.0.0.1:8787 --json

lemma setup-openclaw is the public starter-safe path. It:

  • opens one browser approval
  • issues a starter-safe OpenClaw proof
  • connects the runtime
  • starts the local firewall
  • verifies one protected allow
  • kills the runtime and verifies deny

Other Core Commands

lemma session start --api-base https://lemma.id
lemma session status --api-base https://lemma.id --json
lemma setup-firewall --api-base https://lemma.id --json
lemma setup --site-id site_demo --site-domain example.com --framework flask --json
lemma audit --project-dir . --framework flask --skip-health --json
lemma fix --project-dir . --framework flask --safe --skip-health --json
lemma ci --project-dir . --framework flask --skip-health --skip-smoke --json

Authentication for Sensitive Operations

Local interactive browser flow:

lemma login --api-base https://lemma.id
lemma auth-status --api-base https://lemma.id --json

Headless/CI flow:

lemma login --api-base https://lemma.id --non-interactive --platform-api-key "$LEMMA_API_KEY" --user-email "$LEMMA_ADMIN_EMAIL" --json

Sensitive Management Commands

lemma site-create --domain demo.example --environment development --json
lemma key-bootstrap --site-id site_demo --name "CI Key" --permissions read,write --json
lemma iam-type-create --site-id site_demo --name admin_access --iam-type role --json
lemma iam-type-list --site-id site_demo --json

Contract

All machine-oriented commands support --json and emit:

  • schema_version
  • command
  • ok
  • error_code

Documentation

  • OpenClaw Personal Quickstart: docs/openclaw/PERSONAL_QUICKSTART.md
  • Quickstart: https://lemma.id/docs/quickstart
  • Release checklist: docs/operations/CLI_RELEASE_CHECKLIST.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lemmaid_cli-0.2.0.tar.gz (493.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lemmaid_cli-0.2.0-py3-none-any.whl (502.8 kB view details)

Uploaded Python 3

File details

Details for the file lemmaid_cli-0.2.0.tar.gz.

File metadata

  • Download URL: lemmaid_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 493.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for lemmaid_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fd70331a646b00a80b9d0c7685482c651c7a77ba748f9b616d94b993863dcca1
MD5 929a60c3e79804e073ffbb1a99a230b3
BLAKE2b-256 aa950fee64036c5e8426533347fb492d0d2dd395d5b4e4065a418520bfe4e1e4

See more details on using hashes here.

File details

Details for the file lemmaid_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lemmaid_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 502.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for lemmaid_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69440b05e40a8b9ec9117b613fe8d4d25ed3683d746e50ad1abca4217e7aebba
MD5 a5c490b1a89925380562774d32c0dd0d
BLAKE2b-256 d235872d69fd9b3dbaf3cc0127cb0de5f67f5d824b0e75f22d1e16838c162d94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page