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.1.1.tar.gz (174.4 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.1.1-py3-none-any.whl (146.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lemmaid_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 174.4 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.1.1.tar.gz
Algorithm Hash digest
SHA256 b9b6cd6fbf2e704204976a4ddd781a213b6adc471a3144236294d012bc20eb48
MD5 a4357e66c93649235dc6bb2c72734a60
BLAKE2b-256 4b5d7cc1576e6333352e72044e5abe825992568fd7140d5670d51f94b21afa26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lemmaid_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 146.6 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9c9decb6beb8547ddaa5584466d4be3075ccda91b5af6422b5f9d8040b0c367
MD5 37480ccd9b1fa298a515a123c5112191
BLAKE2b-256 ada21279d084e01bc8527bd1a95a4d38efaa3b795fb20135e9e3ff1e39ae9077

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