auth - Authenticate non-interactively
cf auth USERNAME PASSWORD
cf auth CLIENT_ID CLIENT_SECRET --client-credentials
er Authenticating user. Overridden if USERNAME argument is provided.
ssword Password associated with user. Overriden if PASSWORD argument is provided.
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
Consider using the CF_PASSWORD environment variable instead
cf auth email@example.com "my password" (use quotes for passwords with a space)
cf auth firstname.lastname@example.org "\"password\"" (escape quotes if used in password)
Use (non-user) service account (also called client credentials)
api, login, target