tb token

Manage your workspace tokens. See Authentication.

CommandDescriptionOptions
copy OPTIONS TOKEN_IDCopies a token.
ls OPTIONSLists tokens.--match TEXT: Retrieves any token matching the pattern. eg --match _test.
refresh OPTIONS TOKEN_IDRefreshes a token.--yes: Doesn't ask for confirmation.
rm OPTIONS TOKEN_IDRemoves a token.--yes: Doesn't ask for confirmation.
scopes OPTIONS TOKEN_IDLists token scopes.

create static OPTIONS TOKEN_NAME

Creates a static token that lasts forever. If a token with the same name already exists, it updates it.

--scope: Scope for the token (e.g., DATASOURCES:READ). Required.

--resource: Resource you want to associate the scope with.

--filter: SQL condition used to filter the values when calling with this token (eg. --filter=value > 0).

create jwt OPTIONS TOKEN_NAME

Creates a JWT token with a fixed expiration time.

--ttl: Time to live (e.g., '1h', '30min', '1d'). Required.

--scope: Scope for the token (only PIPES:READ is allowed for JWT tokens).Required.

--resource: Resource associated with the scope. Required.

--fixed-params: Fixed parameters in key=value format, multiple values separated by commas.

Updated