login - Cloud Foundry CLI Reference Guide


名前

login - ユーザーをログインします

使用法

cf login [-a API_URL] [-u USERNAME] [-p PASSWORD] [-o ORG] [-s SPACE] [--sso | --sso-passcode PASSCODE] [--origin ORIGIN]

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 login (omit username and password to login interactively -- cf will prompt for both) cf login -u name@example.com -p pa55woRD (specify username and password as arguments) cf login -u name@example.com -p "my password" (use quotes for passwords with a space) cf login -u name@example.com -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

別名

l

オプション

-a

API エンドポイント (例: https://api.example.com)

-o

組織

-p

パスワード

-s

スペース

--skip-ssl-validation

API エンドポイントの検証をスキップします。 推奨されません

--sso

ログインするためのワンタイム・パスコードを求めるプロンプトを出します

--sso-passcode

ワンタイム・パスコード

-u

ユーザー名

--origin

Indicates the identity provider to be used for login

その他の参照先

api, auth, target