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.1.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.1-py3-none-any.whl (502.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lemmaid_cli-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0599c6ac0066460bd7a87f857aac01c2e1d063f0924b46ccd10fa0847c764af5
MD5 8584d44b1157175d13a9c64c3500a0ea
BLAKE2b-256 4bb6c31fb01a035db8ce3a1693c568d04e615433ab3d4082b80191f10d7f43a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lemmaid_cli-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91e73898a47c7e03aee192ae7e5ae8c0187c860f4dc5e252632902c05fff9b10
MD5 3af385a2ba7dc3a6c43f8e832e2fa461
BLAKE2b-256 eb8e3a26c5c34c0fa3de8879e970968492060eac99bf929fa388f6660c878b3f

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