tb login

Authenticates with your Tinybird account.

By default, the command opens a browser window for authentication. You can also use the --method code option to authenticate using a temporary code instead of a browser.

The credentials are stored in the .tinyb file. See .tinyb file.

Options

OptionDescription
--host TEXTSet a custom host if it's different than https://api.tinybird.co. Check Regions and endpoints for the available list of regions.
--auth-host TEXTSet the host to authenticate to. If unset, the default host is used.
--workspace TEXTSet the workspace to authenticate to. If unset, the default workspace is used.
-i, --interactiveShow available regions and prompts you to select one for authentication.
--method [browser|code]Set the authentication method to use. Default: browser.
--use-aws-credsUse AWS credentials to authenticate. Required to run S3 connections locally. See Using AWS credentials.

To log out, run tb logout.

Updated