Generate Access_Token/Bearer_Token in VRA 8.x for API Authentication
We can generate the access token/bearer token by following the below method:
It is a 2 step process : ???????????????????????????????????????
Step1: Generate the refresh token using the API :
POST??https://<vRA8_URL>/csp/gateway/am/api/login?access_token
Example from my lab :
Step2: Use the refresh token to generate the bearer token:
POST?https://<vRA8_URL>/iaas/api/login
Example from my lab:
Note: While making the API calls, use the?Headers: 'Content-Type: application/json'