I've successfully received a token from vRA while using a valid user and the custom tenant I have created. Yet when I issue a command using that token it returns zero objects. The catalina log states that the user has no entitlements. The first part of that error in the log states the default tenant rather than the one I stated in my authorization.
Command: curl --insecure -H "Accept: $ACCEPT" -H "Authorization: $AUTH" https://$VRA/catalog-service/api/consumer/entitledCatalogItems
Portion of log file: vcac: [component="cafe:catalog" priority="INFO" thread="tomcat-http--52027" tenant="vsphere.local"] com.vmware.vcac.catalog.service.impl.EntitlementServiceImpl.findForCurrentUser:326 - No entitlement found for user
The ID I'm using has entitlements on our primary tenant but not on the default one which is by design. If anyone has any tips on what I'm missing here I would appreciate the feedback. I imagine I need to reference the right tenant in my command but can't find the right syntax for that.