Authentication
SDK authentication — API keys, env vars, key scoping.
Last updated
Was this helpful?
SDK authentication — API keys, env vars, key scoping.
Generate at Premium → Settings → API keys. Set as env var:
export LAYERLENS_STRATIX_API_KEY="ll_..."Or pass explicitly:
client = Stratix(api_key="ll_...")API keys can be scoped to a subset of permissions: traces:read, traces:write, replay:execute, feedback:write, feedback:read, admin, ingest. Scope keys narrowly when issuing for CI runners or third-party integrations.
Rotate via Settings → API keys → Rotate. The old key works for 24 hours during the grace period.
Last updated
Was this helpful?
Was this helpful?