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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lemmaid_cli-0.1.7.tar.gz
  • Upload date:
  • Size: 493.1 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.7.tar.gz
Algorithm Hash digest
SHA256 45eeff13b52ade0d72ba50bea577371df7ba6827961f61115bee0d5c53a7fd5b
MD5 6ff464b6363ede753de4f1561c106b6c
BLAKE2b-256 9f7e0672d8230ed8e30b3469a6b4d2dbceee16a8c9bc1c35b5e0c44aeef247f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lemmaid_cli-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 502.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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b50d5529ebf577d89c0e1e9ecbe921e3257ba660ac416bd1b953b3106882dad2
MD5 0845d2b14a47cccf3f35879923d16ac5
BLAKE2b-256 017479bfd036e7a38dbb6f92fe6463e21606ebaa08845e1059d0784e94f43821

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