To access Log Management API (formerly Aria Operations for Logs) within VCF Operations 9.1, users must exchange a standard VCF Operations session token for a specific Log Management JWT.
Follow these steps to generate the required JWT token for Log Management API access:
Go to the VCF Operations API documentation page: https://<vcf-operations-fqdn>/suite-api/doc/operations-api.html
Click the Authorize button at the top of the page. Enter your local credentials (or an existing OpsToken) to authenticate the session.
Go to the Authentication section and find the following endpoint: POST /api/auth/token/exchange
Click Try it out. In the request body (schema), include only the ops-li scope as follows:
{
"serviceKeys": [
"ops-li"
]
}Click Execute. Under the Response body, copy the generated JWT token.
Use the retrieved JWT token in the Authorization header for any subsequent Log Management API calls:
Header Key: AuthorizationHeader Value: Bearer <JWT_token>Documentation: VMware Cloud Foundation (VCF) Operations API