Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto auth

Sign in to Roboto.

roboto auth [-h] {login} ...

Arguments

Argument Description
-h, --help show this help message and exit

roboto auth login

Sign in through your browser and save a new access token to a profile in the Roboto config file. Select the profile with the top-level –profile flag (default: ROBOTO_PROFILE, then the profile that already uses the endpoint, then the config file’s default profile). If the profile already has a token, login asks whether to replace it; outside a terminal, replacing it requires –overwrite.

roboto auth login [-h] [--choose-endpoint | --endpoint ENDPOINT]
                  [--no-browser] [--port PORT]
                  [--expiry-days EXPIRY_DAYS] [--overwrite]
                  [--set-default]

Arguments

Argument Description
-h, --help show this help message and exit
--choose-endpoint Ask for the Roboto API endpoint to sign in to, offering https://api.roboto.ai. Use it when your organization runs its own Roboto deployment. Needs a terminal.
--endpoint <endpoint> Roboto API endpoint to sign in to. Defaults to ROBOTO_SERVICE_ENDPOINT; otherwise, with a profile named, to that profile’s saved endpoint, and with none named, to the endpoint that every profile in the config file uses; else https://api.roboto.ai. With no profile named, the token is saved to the profile that already uses this endpoint.
--no-browser Don’t open a browser or listen for its redirect. Print a URL to open on any device, then paste the authorization code the page shows. Implied over SSH and on Linux without a display.
--port <port> Local port for the browser’s redirect. Defaults to a free port. Default: 0.
--expiry-days <expiry_days> Number of days, from 1 to 365, that the new access token stays valid. Defaults to 30. Default: 30.
--overwrite Replace the access token and endpoint of the selected profile if it already exists, without asking. Outside a terminal, replacing them requires this flag. The replaced token stays valid.
--set-default Make the selected profile the default.

Was this page helpful?