Skip to main content

Documentation Index

Fetch the complete documentation index at: https://s2.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

List access tokens

s2 list-access-tokens

Issue an access token

s2 issue-access-token \
  --id my-token \
  --expires-in 30d \
  --op-group-perms "stream=rw"
Scoped to specific basins and streams:
s2 issue-access-token \
  --id scoped-token \
  --basins "my-basin" \
  --streams "events/" \
  --op-group-perms "stream=rw" \
  --expires-in 7d

Revoke an access token

s2 revoke-access-token my-token