In Storacha, you don't have a simple "bearer token". You need two things:
- Identity (Key): Who you are (Private Key).
- Permission (Proof): Proof that you are allowed to access the Space.
Most "API Key" confusion comes from missing the Proof part. See this example:
import { create } from '@storacha/client'
import { parse as parseProof } from '@storacha/client/proof'
import { StoreMemory } from '@storacha/client/stores'