Three credentials reach Logika, each for one purpose. People sign in to the console in a browser; the CLI and your agent act with a token; your application sends data with an SDK key, which can read nothing.
Credentials
- Token, yours, for one project.
logika loginwrites it asLOGIKA_TOKENto the.envbesidelogika.json, andlogika tokenprints one for CI or a server. It acts with your role (editors and owners get tokens; viewers read in the console) and stops working when you leave the project, become a viewer or delete your account. Keep it out of version control; the console lists yours, to revoke any, andlogika logoutrevokes the one in.envand removes it. - SDK key, per ledger and environment. Ingest-only, carried by the enhancer in
OTEL_EXPORTER_OTLP_HEADERS. The key decides the environment, never an attribute your app sets, so a staging key cannot write production data. Create one withlogika api keys create '{"ledger": "shop", "env": "staging"}'; an environment can't be deleted while a live key still writes to it. - Browser session, for the console only, through GitHub or Google sign-in with a verified address. Sessions are listed and revocable from your account.
Roles
Roles are per project.
| Role | Can |
|---|---|
| Owner | everything an editor can, plus the plan and billing, inviting and removing people and changing roles, the project's name, each environment's name, days and agent settings, deleting the project |
| Editor | sign in the CLI and their own agent (a token), wake that agent, create SDK keys and add environments, choose their own emails and spending limit |
| Viewer | see everything, and choose which emails they get; no token, no agent |
Members of every role see all of the project's data. An invitation works once, for 7 days, and only for someone signed in with the invited address verified. Seats, invitations and whose agent wakes are in Teams and environments.
Your agent's access
Your agent reads through your token, so it sees what you see, and what it reads from your application's data is fenced as data, never taken as instructions. What it may do on your machine (edit, commit, open a pull request, deploy) is set in your own agent's configuration and permissions, not by Logika.
Who else can read your data, including Logika's operators, and how pii values stay unreadable to us, is on Security and your data.