简体   繁体   English

如何在Bluemix上的Kubernetes集群上检索Hyperledger的服务凭证

[英]How to retrieve service credentials for Hyperledger on Kubernetes Cluster on Bluemix

I recently installed Hyperledger on a Kubernetes cluster on IBM Bluemix trial account. 我最近在IBM Bluemix试用帐户的Kubernetes集群上安装了Hyperledger。

I want to use the Hyperledger Fabric SDK Node.js to access my blockchain. 我想使用Hyperledger Fabric SDK Node.js访问我的区块链。 I am following the instructions to run the HLF SDK sample helloblockchain.js 我正在按照说明运行HLF SDK示例helloblockchain.js

https://github.com/IBM-Blockchain-Archive/SDK-Demo https://github.com/IBM-Blockchain-Archive/SDK-Demo

I need to be able to retrieve my "service credentials". 我需要能够检索我的“服务凭证”。 Since this is not the enterprise install on Bluemix I do not have a blockchain dashboard from which I can view credentials. 因为这不是在Bluemix上的企业安装,所以我没有可用来查看凭证的区块链仪表板。 How do I find my credentials to create the ServiceCredentials.json file? 我如何找到创建ServiceCredentials.json文件的凭据?

Clarification: When you install Hyperledger in a bluemix trial in a container you do not have the same Blockchain dashboard as you do if you added the Blockchain Enterprise service. 说明:在容器中的bluemix试用版中安装Hyperledger时,您没有与添加Blockchain Enterprise服务相同的Blockchain仪表板。 blockchain dashboard in trial account 试用帐户中的区块链仪表板

If you click on the blockchain item you get the cluster dashboard. 如果单击区块链项目,则会显示集群仪表板。 There is no service credentials option Or option to create service credentials. 没有服务凭证选项或创建服务凭证的选项。

When on the Bluemix dashboard, click on the Blockchain service and then on "service credentials" in the left column. 在Bluemix仪表板上时,单击Blockchain服务,然后单击左列中的“服务凭证”。 This is where you'll find the credentials, if there isn't any click "create new credentials". 如果没有单击“创建新凭据”,则可以在此处找到凭据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM