Skip to content

chore(sdk): remove API key auth - #212

Merged
andyland merged 2 commits into
mainfrom
lk/m1b-4
Oct 26, 2026
Merged

andyland merged 2 commits into
mainfrom
lk/m1b-4

Conversation

@lianakoleva

Copy link
Copy Markdown
Member

The org key endpoints are gone, so the SDK can no longer accept them
- remove the lightning api-key command group and api/api_key_api.py
- remove ApiKeyAuth and the --api-key-auth flags from deployment create and update
- refuse a bare UUID or sk-lit- value in LIGHTNING_API_KEY with a migration message (Python, Go, and JS)
- Go: drop Basic auth and ignore LIGHTNING_USER_ID
- JS: stop falling back to a legacy LIGHTNING_API_KEY
- remove lightning code token
- code: setup reads the key from LIGHTNING_API_KEY, and no longer takes --org or --rotate-key or checks the org's plan
- code: remove no longer revokes a key, and drops --keep-key
- code: the records file (needed for harnesses) keeps only a marker that a tool is managed by lightning code; org and key IDs are no longer stored
- status --json drops the org and key fields

@andyland
andyland merged commit 9086e41 into main Oct 26, 2026
24 checks passed
@andyland
andyland deleted the lk/m1b-4 branch October 26, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants