CLOUD_API_TOKEN
env variablecd .. && yarn build
or cd .. && npm run build
CLOUD_API_TOKEN=token yarn kafka
[
{
"bootstrapServerHost": "xxx.kafka.rhcloud.com:443",
"cloud_provider": "aws",
"created_at": "2021-05-26T07:39:46.984051Z",
"href": "/api/kafkas_mgmt/v1/kafkas/xxx",
"id": "xxx",
"kind": "Kafka",
"multi_az": true,
"name": "xxx",
"owner": "xxx"
}
]
## Refresh token
rhoas kafka list
## Fetch token
CLOUD_API_TOKEN=`cat ~/.rhoascli.json | jq .access_token`
window.insights.chrome.auth.getToken().then(console.log)