Deploying Open Service Broker for Azure

We need to obtain the subscription ID, tenant ID, client ID, and secrets in order for the Open Service Broker to launch Azure services on our behalf:

  1. Run the following command to obtain the required lists:
az account list -o table
  1. Copy your subscription ID and save it in an environment variable:
export AZURE_SUBSCRIPTION_ID="<SubscriptionId>"
  1. Create a service principal with RBAC enabled so that it can launch Azure services:
az ad sp create-for-rbac --name osba-quickstart -o table
  1. Save the values from the command output in the environment variable:
export AZURE_TENANT_ID=<Tenant>
export AZURE_CLIENT_ID=<AppId>
export AZURE_CLIENT_SECRET=<Password>
  1. Now we can deploy the Open Service Broker, ...

Get Hands-On Kubernetes on Azure now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.