Skip to content
Master From Us

Master From Us

Helps to learn trending technologies

  • Docker
  • OpenShift
  • PCF
  • Spring Boot
  • data structures
  • problems
  • Other

Tag: login to pcf Space from cf cli

Login to PCF Space from CF CLI

October 1, 2018February 8, 2020 ~ Subbareddy Nallamachu ~ Leave a comment

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,

cf login

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: abc@xyz.com
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,

https://login.run.pivotal.io/login

Share this:

  • Tweet

Like this:

Like Loading...

Categories

  • docker (8)
  • interview (3)
  • java (18)
    • basics (3)
    • data structures (11)
  • OpenShift (8)
  • pivotal cloud foundry (18)
  • problems (3)
    • Splunk (1)
  • spring boot (2)

Latest Articles

  • 200+ Java Fullstack developer questions
  • Java : Lambda Expression
  • VirtualBox cannot run when Hyper-V is installed
  • REST API to get Projects from CLI
  • OpenShift oc is not recognized as command

Top Posts & Pages

  • Login to PCF Space from CF CLI
  • StringJoiner vs StringBuffer vs Collectors.Joining() Performance Test
  • VirtualBox cannot run when Hyper-V is installed
  • Set environment variables in pivotal application
  • What is platform and why we need PaaS?
  • OpenShift oc is not recognized as command
  • Docker Hub vs Docker Desktop Vs Docker Enterprise
Advertisements
Advertisements
Create a website or blog at WordPress.com
  • Follow Following
    • Master From Us
    • Already have a WordPress.com account? Log in now.
    • Master From Us
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: