auth - Cloud Foundry CLI Reference Guide


NOME

auth - Autenticar não interativamente

USO

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

ENVIRONMENT VARIABLES

CF_USERNAME=us er Authenticating user. Overridden if USERNAME argument is provided.
CF_PASSWORD=pa ssword 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)

OPÇÕES

--client-credentials

Use (não usuário) a conta do serviço (também chamada de credenciais do cliente)

--origin

Indica o provedor de identidade a ser usado para a autenticação

VEJA TAMBÉM

api, login, target