login - Cloud Foundry CLI Reference Guide |
cf login [-a API_URL] [-u USERNAME] [-p PASSWORD] [-o ORG] [-s SPACE] [--sso | --sso-passcode PASSCODE] [--origin ORIGIN]
cf login (omit username and password to login interactively -- cf will prompt for both)
cf login -u [email protected] -p pa55woRD (specify username and password as arguments)
cf login -u [email protected] -p "my password" (use quotes for passwords with a space)
cf login -u [email protected] -p "\"password\"" (escape quotes if used in password)
cf login --sso (cf will provide a url to obtain a one-time passcode to login)
cf login --origin ldap
API 端點(例如 https://api.example.com)
組織
密碼
空間
跳過驗證 API 端點。不建議使用!
提示輸入一次性密碼以便登入
一次性密碼
使用者名稱
Indicates the identity provider to be used for login