Command
terminus auth:login
Description
Logs in a user to Pantheon.
Example Usage
terminus auth:login --machine-token MACHINE-TOKEN --email EMAIL
auth:login --machine-token=<machine_token>
Logs in a user granted the machine token <machine_token>.
auth:login
Logs in a user with a previously saved machine token.
auth:login --email=<email>
Logs in a user with a previously saved machine token belonging to <email>.
login
Options
Option | Description |
---|---|
--ansi | Force (or disable --no-ansi) ANSI output |
--define | Define a configuration item value. |
Uses an existing machine token for this user | |
--help | Display help for the given command. When no command is given display help for the <info>list</info> command |
--machine-token | Grants access for a user and is saved for future logins |
--no-ansi | Negate the "--ansi" option |
--no-interaction | Do not ask any interactive question |
--quiet | Do not output any message |
--verbose | Increase the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv) |
--version | Display this application version |
--yes | Answer all confirmations with "yes" |
Login Duration
The Platform logs users out after 24 hours of inactivity, and forces all users to log back into the Platform every 30 days.
This includes all users authenticated via Terminus auth:login
.