auth - Cloud Foundry CLI Reference Guide


NAME

auth - Authenticate user non-interactively

USAGE

cf auth USERNAME PASSWORD

WARNING

Providing your password as a command line option is highly discouraged Your password may be visible to others and may be recorded in your shell history

EXAMPLES

cf auth name@example.com "my password" (use quotes for passwords with a space) cf auth name@example.com "\"password\"" (escape quotes if used in password)

SEE ALSO

api, login, target