You can register your service broker with multiple VMware Tanzu Application Service for VMs (TAS for VMs) instances.

It might be necessary for the broker to know which TAS for VMs instance is making a given request. For example, when using Dashboard Single Sign-on, the broker is expected to interact with the authorization and token endpoints for a given TAS for VMs instance.

There are two strategies that can be used to discover which TAS for VMs instance is making a given request.

Routing and authentication

The broker can use unique credentials, a unique URL, or both for each TAS for VMs instance. When registering the broker, you can configure different TAS for VMs instances to use different base URLs that include a unique ID. For example:

  • On TAS for VMs instance 1, the service broker is registered with the URL broker.example.com/123.

  • On TAS for VMs instance 2, the service broker is registered with the URL broker.example.com/456.

X-Api-Info-Location header

All calls to the broker from TAS for VMs include an X-Api-Info-Location header containing the /v2/info URL for that instance. The /v2/info endpoint returns further information, including the location of that TAS for VMs instance’s UAA.

Support for this header was introduced in cf-release v212.

check-circle-line exclamation-circle-line close-line
Scroll to top icon