SPM — StellarPath Memory Operating System Docs

Authentication & API keys

Published Last reviewed Applies to SPM-Polaris V3.0.0

The one credential your agents need

Agents authenticate to hosted SPM interfaces with a single API key. They never receive your console session or vaulted provider keys:

Authorization: Bearer spm_live_...

Anthropic-dialect clients may send the same key in x-api-key; both headers are accepted.

What a key resolves to

Before processing memory, the gateway resolves each request key into a fenced identity:

Keys are stored as peppered hashes. The gateway does not log them, and request receipts contain no key material.

Scopes

Keys carry least-privilege scopes:

Scope Allows
memory:write Store memory (MCP remember, automatic ingest)
memory:read Recall, read back evidence, and query memory status
memory:delete Delete memory sources and purge
receipt:read Query request receipts

A proxy-only integration still exercises memory scopes internally per request; grant receipt:read only to tooling that audits traffic.

The key's read/write scopes also select the Provider Proxy's default memory mode. A request may lower that mode with x-spm-memory-mode, but it cannot upgrade beyond the key.

After console sign-in, the web backend issues short-lived capability tokens for console operations. This credential domain is separate from agent keys, so a leaked agent key cannot open the console, and a console session cannot retrieve provider secrets.

Hygiene

Local Proxy credential domains

Local Proxy stores the SPM key and provider key in its protected local configuration and gives the downstream harness a separate random local token. The provider key goes directly to the configured upstream; the SPM key goes only to hosted memory endpoints.

Treat all three values as secrets. spm config masks them; spm config token intentionally prints the local harness token.

Console sign-in

The console accepts email or unique username login. Google and GitHub sign-in are optional alternatives. OAuth providers receive only their configured authentication redirect; SPM does not request Gmail, Drive, Contacts, or Calendar access.