How to get an API key for MessageHub's management rest API?

空扰寡人 提交于 2019-12-13 07:23:32

问题


I need to programmmtically create topics - see my other question here: MessageHub - api for creating topics?

The MessageHub Management API requires an apiKey to interact with it.

How do I generate an API key? I'm guessing this is a generic bluemix authentication service, but I'm not sure where this resides or how I can interact with it.


回答1:


Go to the Bluemix console and navigate to Message Hub’s Bluemix dashboard by clicking on your service. Then switch to the “Service Credentials” tab and you should see some json properties as Credentials-1. The 48 character api_key is what you need.



来源:https://stackoverflow.com/questions/40321385/how-to-get-an-api-key-for-messagehubs-management-rest-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!