Insights Hub Logging into Cloud Foundry with Service Credentials

2024-06-20T11:59:52.000-0400
Developer Tools Applications

Summary

This article guides you through the process of logging into Cloud Foundry (CF) by creating and using service credentials. It includes a step-by-step procedure for generating service credentials and a sample login command for accessing the CF org.


Details

Step 1: Create Service Credentials

  1. Navigate to the MindSphere Service Credentials Documentation.
  2. Follow the instructions provided in the documentation to create the service credentials.

Step 2: Login to Cloud Foundry Once you have created your service credentials, you can log into the Cloud Foundry organization using the following command format:

cf login -a https://api.cf.eu1.mindsphere.io -u [Username] -p [Password]

Example:
If your username is mdspsup2-tesuser and your password is FLx65KiPrt0rdP5xq9szH1SN7RFp7s33Z6gP2Lwsd0, the login command will be:

cf login -a https://api.cf.eu1.mindsphere.io -u mdspsup2-tesuser -p FLx65KiPrt0rdP5xq9szH1SN7RFp7s33Z6gP2Lwsd0

Note: Replace [Username] and [Password] with your actual Cloud Foundry credentials.

 

By following these steps, you will be able to successfully log into Cloud Foundry using your service credentials. For further assistance, refer to the MindSphere Service Credentials Documentation.

 

KB Article ID# KB000133309_EN_US

Contents

SummaryDetails

Associated Components

Cloud Foundry Service Credentials