How to Authorize VCF Operations Fleet Management API
search cancel

How to Authorize VCF Operations Fleet Management API

book

Article ID: 409715

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

The VCF Operations Fleet Management API requires proper authentication to ensure secure access to your Fleet Management environment.

This knowledge base article provides a step-by-step guide on how to correctly authorize your API calls using basic authentication with your VCF Operations Fleet Management credentials. 

Environment

VCF Operations 9.0

Resolution

Following these steps will allow you to successfully connect and utilize the VCF Operations Fleet Management API.

  • Access the VCF Operations UI and navigate to Developer Center >> APIs & SDKs.
  • Select "Fleet Management API"

  • From the Swagger UI, select the definition "1.public-api or 2.private-internal-api"

  • Click on "Authorize"

        To get the "Authorization (apiKey)" please follow the below:

    1. SSH into the VMware Cloud Foundation Operations Fleet Management using root credentials and run this command: echo -n 'admin@local:<fleet-admin-password>' | base64
    2. Copy the Base64 value from Step1 to the Authorization (apiKey) field in the below mentioned format:

       Basic <Base64 value from Step-1>

              3. Click Authorize