如何获得MessageHub的其余管理API的API密钥? [英] How to get an API key for MessageHub's management rest API?

查看:120
本文介绍了如何获得MessageHub的其余管理API的API密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以编程方式创建主题-在此处查看我的其他问题: MessageHub-用于创建主题的api?

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

MessageHub管理 API 需要一个apiKey才能与其进行交互.

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

如何生成API密钥?我猜想这是一个通用的bluemix身份验证服务,但是我不确定它位于何处或如何与之交互.

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.

推荐答案

转到Bluemix控制台,并通过单击您的服务导航到Message Hub的Bluemix仪表板.然后切换到"Service Credentials"选项卡,您应该看到一些JSON属性为Credentials-1.您需要48个字符的api_key.

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.

这篇关于如何获得MessageHub的其余管理API的API密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆