Skip to main content

tuna login

Login to tuna.am account.

Logs in through the browser: the session is stored in the system keyring and can be revoked with tuna logout or from the profile page. On servers and in CI pass an api key with --with-api-key instead.

Guide with examples: Sessions and API keys.

Usage
tuna login [flags]
Examples
tuna login
echo "$TUNA_API_KEY" | tuna login --with-api-key
FlagDescription
--hostname stringDevice name shown in the list of sessions. Default: computer name.
--insecure-storageStore the session in a plain text file instead of the system keyring.
--no-browserPrint a link to confirm the login from another device, for machines without a browser.
--webLog in through the browser without asking for the method.
--with-api-keyRead an api key from standard input.

Global flags work too.