Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 652 Bytes

messagehub066.md

File metadata and controls

21 lines (15 loc) · 652 Bytes
copyright lastupdated
years
2015, 2017
2016-11-22

{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}

How to connect and authenticate

{: #rest_connect}

To connect to {{site.data.keyword.messagehub}}, the Kafka REST API uses the api_key and kafka_rest_url credentials from the VCAP_SERVICES environment variable.

To authenticate with the {{site.data.keyword.messagehub}} Kafka REST API, you must specify the api_key in the X-Auth-Token header of your requests.