How to authenticate VCF Operations API using VIDB user
search cancel

How to authenticate VCF Operations API using VIDB user

book

Article ID: 422959

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Generating authorization token in VCF Operations 9.x API https://vcops.domain.com/suite-api/api/auth/token/acquire with local user succeeds 
  • Generating authorization token in VCF Operations 9.x API https://vcops.domain.com/suite-api/api/auth/token/acquire with VIDB user fails

Environment

VCF Operations 9.0.x

Resolution

In order to use VIDB user to authorize API you will need to generate access token from VIDB for the user, and then use the access token to invoke the VCF Operations APIs.
You can use password grant flow  documentation Get Access Token to get the access token for the VIDB user.

Once you retrieve the access token for VIDB user, you can invoke VCF Operations APIs by passing 'Authorization' header with value 'VIDBToken <access-token>'