auth - Cloud Foundry CLI Reference Guide


이름

auth - 비대화식으로 인증

사용법

cf auth USERNAME PASSWORD cf auth USERNAME PASSWORD --origin ORIGIN cf auth CLIENT_ID CLIENT_SECRET --client-credentials

ENVIRONMENT VARIABLES

CF_USERNAME=user Authenticating user. Overridden if USERNAME argument is provided.
CF_PASSWORD=password Password associated with user. Overriden if PASSWORD argument is provided.

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 Consider using the CF_PASSWORD environment variable instead

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)

옵션

--client-credentials

(비사용자) 서비스 계정(클라이언트 인증 정보라고도 함) 사용

--origin

인증하는 데 사용되는 ID 제공자 표시

다음도 참조

api, login, target