cs token
Print a fresh session JWT to stdout for scripts and one-off requests.
cs token prints the session's access token — refreshed first if it has
expired — and nothing else, so it can be substituted straight into a header.
It is a user session JWT: the member principal, accepted on every endpoint.
Usage
cs tokenExtended usage
curl https://api.corespeed.io/connectors \
-H "Authorization: Bearer $(cs token)"The token lives five minutes. That is right for a request you are making now
and wrong for anything that stays configured — give those an API key from
cs keys create instead.