Control Plane
Access Tokens
Issue, list, and revoke scoped access tokens with the S2 CLI.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Issue, list, and revoke scoped access tokens with the S2 CLI.
s2 list-access-tokens
s2 issue-access-token my-token \
--expires-in 30d \
--basins-prefix "" \
--streams-prefix "" \
--op-group-perms "stream=rw"
s2 issue-access-token scoped-token \
--basins-prefix "my-basin" \
--streams-prefix "events/" \
--op-group-perms "stream=rw" \
--expires-in 7d
s2 revoke-access-token my-token
