Appearance
Auth Profile Add
lindris auth profile add
Add a new profile by storing its API key in the keyring
Synopsis
With --with-token, reads the key from $LINDRIS_API_KEY. Otherwise reads one line from stdin (intended for scripted setup; pipe the key in or use --with-token).
The key is verified before anything is stored, and if the API cannot be reached nothing is stored and the command exits non-zero. 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 — pass that same key to bind it, if it opens the backend you are on, or remove the profile first, which deletes the stored key.
bash
lindris auth profile add <name> [flags]Options
--with-token- Read the API key from $LINDRIS_API_KEY instead of reading stdin
See Also
lindris auth profile- Manage multiple Lindris accounts via the keyring