Rather than cover the same ground as the Cloud Foundry blog, I wanted to drill down a little into what's going on and how you can use this in your own projects: I've included a couple of examples, based on the ClickStarts, on our partnerdemo account that you can use as a reference.
First, let's take a look at how we secure access from your CloudBees DEV@cloud account to the Cloud Foundry deployment services. CloudBees and Cloud Foundry both support the industry-standard OAuth 2.0 protocol, allowing you to establish a trust relationship between your accounts without the need for either party to store account details like passwords from the other service. To do this, just go to https://cloudfoundry.cloudbees.com, which will redirect you to the standard Cloud Foundry log in page. Log in with your Cloud Foundry credentials and authorize your CloudBees account to deploy to your Cloud Foundry account:
- Try CloudBees DEV@cloud on Cloud Foundry - it's all free: https://cloudfoundry.cloudbees.com
- Read the Cloud Foundry blog tutorial