VCF Operatons 9 Fleet Manager API
- Brock Peterson

- Jul 21
- 1 min read
Updated: Sep 12
VCF Operations 9 introduced a new component called the Fleet Manager, which we've already discussed. As you've likely noticed, the Fleet Manager has an API surface.

Clicking the API documentation link takes you here.

Which is available at https://fleetmanagerfqdn/api/swagger-ui/index.html. You'll notice top right there are Public and Private API surfaces available.

Selecting the private-internal-api option presents dozens more endpoints, including those for Locker!

Ok, this is a find! Specifically, the Locker Password Controller section which gives us all the Locker endpoints.

To see a list of credentials/passwords in Locker, I can run GET /lcm/locker/api/passwords.

But you'll notice the Response Body, I'm not fully authenticated. Back at the top you'll find the Authorize button.

You don't use a Bearer Token here, but rather your Base64 Encoded admin@local credentials, as documented here. Thanks to Broadcom engineer, Viveksuriyan Subramani for pointing this out. I created mine like this.

If you'd prefer something local, you can also run this command on the Fleet Manager VM to get your Base64 encoded credentials.
echo -n 'admin@local:password_goes_here' | base64This is what you'll use to authenticate with the Fleet Manager API, like this.

Now you'll be able to access the Fleet Manager API endpoints, like this.

If you're looking for Locker credentials/passwords, you'll want to list them here.

Find the vmid you want then use that in POST /lcm/locker/api/passwords/view/{vmid}, like this.

The VCF Operations 9 Fleet Manager API is powerful, enjoy!
Comments