PlatformFork isolation

Security

People sign in with causet login. Services use an API key. Data for one fork is not readable as another fork.

People and services

causet login
causet api-keys --help

causet login opens the hosted browser flow and stores the session in ~/.causet/config.json. Do not commit that file. Use that login for the CLI on a workstation.

The SDK sends apiKey to the management API. Create the key with causet api-keys. A key for one platform does not authorize another platform.

const client = createCausetClient({
  apiUrl: 'https://sandbox.api.causet.cloud',
  platformSlug: process.env.CAUSET_PLATFORM,
  appSlug: process.env.CAUSET_APPLICATION,
  forkId: 'sandbox',
  apiKey: process.env.CAUSET_API_KEY,
})

Sandbox is https://sandbox.api.causet.cloud. Production is https://api.causet.cloud. Package details are in SDK.

Fork isolation

Isolation follows platform, then application, then fork. Projection rows for a fork live in that fork’s schema. The schema name is {platformId}_{applicationId}_{forkId}, sanitized and capped at 63 characters. A read sets that schema for the transaction.

Consistency token

A consistency token is a signed cursor for one entity query. It is not an access token. The signature is checked against the platform, application, and fork. A mismatch is 401. The read itself is in Consistency.

Report vulnerabilities through your Causet contact. The support terms are in the support policy.