#!/bin/bash

if [ $# -ne 1 ]
then
  echo "usage: $(basename $0) <api key>"
fi
API_KEY="$1"

API_HOST=truesight.bmc.com
API_PATH=api/v1/meta
API_URL="https://$API_HOST/$API_PATH"

curl -1 -s -X GET -H "X-API-KEY: $API_KEY" "$API_URL" | jq .

Add script to validate TSI API Key
Add script to validate TSI API Key
