在哪里设置 API KEY 以在 IBM Bluemix Cloud Foundry 上部署

Where to set API KEY to deploy on IBM Bluemix Cloud Foundry

我在 IBM Bluemix Cloud Foundry 上通过交付管道进行部署。 在日志上我有这条消息:

WARNING: Deploying to Cloud Foundry without specifying an API KEY is DEPRECATED. Press the [CONFIGURE] button above to include an API KEY for this job.

什么是 API KEY 以及我必须在哪里设置它?

可以在 Deploy 配置中设置 API 键,位于面板中间:

从下拉列表中,select 'Add an existing API key' 然后粘贴一个键。

(如果用户还没有密钥,则可以使用 ibmcloud iam api-key-create MyKey -d "this is my API key" --file key_file 在命令行上创建密钥,而部署应该在其身份下完成。)