Appearance
Auth Login
lindris auth login
Authenticate with a Lindris API key
Synopsis
Generate an API key from the Lindris dashboard (Account → API), then paste it when prompted. The key is stored in your OS keyring.
With --with-token, the value of the LINDRIS_API_KEY environment variable is used instead of an interactive prompt.
This signs in to the active profile. The key is verified before anything is stored: a key for the account the profile is already bound to replaces it (this is how you rotate a key), the key already stored is reported as unchanged, and a key for a different account is refused with the existing one left untouched. A profile holding a key this build cannot attribute to an account is also refused — paste that same key to bind it, if it opens the backend you are on, or sign out first, which deletes the stored key.
To keep two accounts side by side, give each its own profile with "lindris auth profile add <name>", then switch between them with "lindris auth profile use <name>".
bash
lindris auth login [flags]Examples
bash
$ lindris auth login
$ LINDRIS_API_KEY=xxx lindris auth login --with-tokenOptions
--with-token- Read the API key from $LINDRIS_API_KEY instead of prompting
See Also
lindris auth- Manage authentication with Lindris