bevel icon indicating copy to clipboard operation
bevel copied to clipboard

chaincode.repository should support ssh protocol

Open yuecelm opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. chaincode.repository currently only supports https protocol with username/password

Describe the solution you'd like chaincode.repository should also support ssh protocol with a given private key, similiar to gitops.git_protocol

Describe alternatives you've considered Some companies with private github/gitlab instances only allow the ssh protocol for remote git cloning (e.g. with deploy keys), so moving the chaincode to a private github repository is a possibility but not really desired

yuecelm avatar Jan 06 '22 13:01 yuecelm

@yuecelm This is a good enhancement request, but how do you propose that the private key be shared with the chaincode deployer job. Currently, the gihub token provided in the network.yaml is stored on Vault and read from Vault by the chaincode deployer job.

sownak avatar Jan 17 '22 13:01 sownak

Due to no activity, this issue will be closed. There are limitations on how the private key for ssh will be available to the chaincode deployer job.

sownak avatar Apr 27 '23 11:04 sownak