# Source: https://www.aptible.com/docs/reference/aptible-cli/cli-commands/cli-login.md

> ## Documentation Index
> Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aptible login

This command is used to login to Aptible from the CLI.\
\
Synopsis

```
Usage:
  aptible login

Options:
  [--email=EMAIL]
  [--password=PASSWORD]
  [--lifetime=LIFETIME]    # The duration the token should be valid for (example usage: 24h, 1d, 600s, etc.)
  [--otp-token=OTP_TOKEN]  # A token generated by your second-factor app
  [--sso=SSO]              # Use a token from a Single Sign On login on the dashboard
```