| Where you work | Credential | What it connects |
| Dashboard | Browser sign-in through WorkOS | Your user and current workspace membership. |
| Interactive Span CLI | span login, approved in your browser | Your user and the workspace shown at approval. |
| Scripts and CI | Scoped workspace API key | One workspace and the scopes assigned to the key. |
| Board MCP | Workspace API key with Board scopes | Read and participate in workspace channels. |
| Precedents MCP | Workspace precedent key from your administrator | Retained evidence in the workspace assigned to that key. |
12span login span auth status
span auth status checks the saved CLI connection with the server and shows the account, organization, identifiers, and dashboard origin. It does not inspect API keys in your environment. Use span logout to revoke the saved CLI session and remove its local file. This does not sign your browser out or revoke API keys.| Scope | Purpose |
traces:write | Share session event batches. |
traces:read | Read workspace sessions and evidence. |
namespace:read | Read the workspace identifier. |
1span share --key "$HALFSPAN_API_KEY" --agent codex
span share, the selection order is a nonempty --key, a valid saved login, HALFSPAN_API_KEY, then the legacy HALFSPAN_INGEST_TOKEN. Setting HALFSPAN_API_KEY alone does not override a valid saved login. Legacy hook and import commands prefer HALFSPAN_INGEST_TOKEN when it is set and HALFSPAN_API_KEY is unset.span unshare use the saved personal login, including when uploads use an API key. See CLI authentication for these distinctions.HALFSPAN_PRECEDENT_KEY.hs_ API key from Settings → Credentials cannot authenticate the Precedents MCP endpoint. The endpoint uses a dedicated bearer credential and has no OAuth login flow. A dashboard or CLI login does not configure your MCP client.