Set Up
Page last updated:
Page last updated:
In this step you will install the Cloud Foundry CLI, which can be used for managing and scaling your applications and services.
Once installed, you can use the cf CLI from your command shell.
Log in using the e-mail address and password you used when creating your Cloud Foundry account:
$ cf login -a the URL of the Cloud Controller in your App Cloud instance API endpoint: the URL of the Cloud Controller in your App Cloud instance Email> user@mydomain.com Password>
Authenticating is required to use the CLI tool. The -a
sets the API endpoint to the one of Swisscom Application Cloud.
If you enable Passeport’s two-factor authentication, you have to use the --sso
flag and follow the instructions:
cf login -a https://api.lyra-836.appcloud.swisscom.com --sso
API endpoint: https://api.lyra-836.appcloud.swisscom.com
One Time Code ( Get one at https://login.lyra-836.appcloud.swisscom.com/passcode )>
Note that if you’re behind a firewall that requires use of a proxy to connect with external HTTP/HTTPS services, you can set the HTTP_PROXY
or HTTPS_PROXY
environment variables in your local development environment before running any command.