2016-12-05 93 views
1

我有一个Cloud Foundry/Bluemix的私人服务代理,名称为found, e.g., here on GitHub。当我尝试注册使用
cf create-service-broker brokername username password URI2Broker
我收到以下错误经纪人:如何将服务代理添加到Bluemix/Cloud Foundry?

Creating service broker brokername as BluemixUser...
FAILED
Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action

我如何使用私人服务代理与Bluemix或Cloud Foundry的,即使我不是管理员?

回答

1

Cloud Foundry有两种类型的私人经纪人,standard private brokers and space-scoped private brokers。后者可以在没有管理员权限的情况下进行注册,并且仅在其注册的空间(“空间范围”)中可见。您可以使用下面的命令:

cf create-service-broker brokername username password URI2Broker --space-scoped

有一些规律可循,例如,一些标识符需要是的Cloud Foundry实例中是唯一的。您可以在此tutorial on registering private brokers中找到更多信息,该链接指向示例和更多文档。