In this post we learn the basic and most important concept called how to login to Pivotal account from Cloud Foundry – Command Line Interface(CF-CLI). As on when you registered successfully with Pivotal Cloud Foundry, there is around 2GB space allocated for you to access. Now, we will look at how to connect to that space from previously installed CF CLI. To login into the Pivotal space from Command Line Interface (CLI) will use the below command,
In next step, it will ask to enter the API endpoint. Below is the default Pivotal endpoint to connect to cloud foundry, we can use the same.
API endpoint : https://api.run.pivotal.io/
There will be a chance of getting FAILED message when we try to access the endpoint from behind a office firewall. To avoid such kind of issues, you have to get proxy details and configure in environment variables and make sure you are passing HTTPS instead of HTTP. I hope most of companies firewall is blocking to connect to HTTP.
Once it’s valid and able to connect with the endpoint, it’ll expect you to enter Email and Password details.
Email> Registered Mail Id, Ex: firstname.lastname@example.org
Password> Login Password, Ex: abcdef123@
We can see additional info as on when we have authenticated successfully. The information we can see as API Endpoint, User, Organization and Space along with OK message. If you have got that information in your Command Line Interface, your Pivotal login has been completed successfully.
We can directly login into Pivotal portal by using the below link,