Beta Version
You're viewing documentation for version v1.1.0. Beta versions are subject to changes and may not represent the final stable release. Do not use in production environments.
login
| PLAKAR-LOGIN(1) | General Commands Manual | PLAKAR-LOGIN(1) |
NAME
plakar-login —
Authenticate to Plakar services
SYNOPSIS
plakar login | [-no-spawn] [-status]
[-email email |
-env | -github] |
DESCRIPTION
The plakar login command initiates an
authentication flow with the Plakar platform. Login is optional for most
plakar commands but required to enable certain
services, such as alerting. See also
plakar-service(1).
Only one authentication method may be specified per invocation:
the -email, -env, and
-github options are mutually exclusive. If neither
is provided, -github is assumed.
The options are as follows:
-emailemail- Send a login link to the specified email address. Clicking the link in the
received email will authenticate
plakar. -env- Persist the value of the
PLAKAR_TOKENenvironment variable into the configuration. Generate this token with plakar-token(1). -github- Use GitHub OAuth to authenticate. A browser will be spawned to initiate
the OAuth flow unless
-no-spawnis specified. -no-spawn- Do not automatically open a browser window for authentication flows.
-status- Check wether the user is currently logged in. This option cannot be used with any other options.
EXAMPLES
Start a login via email:
$ plakar login -email user@example.com
Authenticate via GitHub (default, opens browser):
$ plakar login
SEE ALSO
| July 8, 2025 | Plakar |
Found a bug or mistake in the documentation? Create an issue on GitHub