For the complete documentation index, see llms.txt. This page is also available as Markdown.

VMware Tanzu

Connection Requirements

1 - Domain

The hostname of the Cloud Foundry API (Cloud Controller) of your Tanzu foundation. Enter the hostname only — no scheme, no path and no trailing slash.

You can find it by running cf api, or take it from the address you use with cf login.

Correct

api.sys.example.com

Only this one address is needed. The adapter reads the API root endpoint and discovers the UAA (identity server) address on its own, so there is no second URL to enter.

2 - Client ID and Client Secret

Authentication uses the OAuth2 client credentials grant against UAA, so a UAA client has to be created for OctoXLabs. A platform operator can create it with the UAA CLI:

  1. Install the UAA CLI: gem install cf-uaac

  2. Point it at your foundation's UAA: uaac target https://uaa.sys.example.com

  3. Authenticate with the UAA admin client: uaac token client get admin -s UAA_ADMIN_CLIENT_SECRET In Ops Manager this secret is under Tanzu Application Service > Credentials > Uaa Admin Client Credentials.

  4. Create a read-only client: uaac client add octoxlabs-connector \ --authorities cloud_controller.admin_read_only \ --authorized_grant_types client_credentials \ -s YOUR_CLIENT_SECRET

  5. Client ID is the name you gave the client (octoxlabs-connector above) and Client Secret is the value passed to -s.

Permissions

For the client credentials grant, UAA takes the token's permissions from the client's authorities field — not from scope. A client created with the scope flag instead will receive a token, but every data request will come back empty. cloud_controller.admin_read_only is enough and is read-only. cloud_controller.global_auditor also works. No write permission is required.

3 - Fetch Services

Fetching the service inventory. (optional, default: True)

4 - Per Page

Amount of service instances going to be fetched per request. (default: 100, min: 1, max: 5000)

5 - Proxy

Proxy url. (optional)

6 - Timeout

The amount of time (in seconds) to wait for API responses. (default: 30)

Last updated

Was this helpful?