login

Description

Logs a user in to CF.

If username and password are not specified, a prompt is displayed requesting this information.

Note that passwords may be leaked from the command history.

Alias

l

Syntax

cf login [-a apiUrl] [-u username] [-p password] [-o org] [-s space]

Option

-a
API endpoint (for example, https://api.example.com)
-u
Username
-p
Password
-o
Org
-s
Space