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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.