custom-ssh-key-buildpack

by simon0191

README.md

Heroku Buildpack: Custom SSH key

Use Custom SSH key buildpack if you need to, for example, download a dependency stored in a private repository.

Based on http://stackoverflow.com/a/29677091/3303182.

Usage

Motivation

I needed to install dependencies stored in private repositories but I didn't want to hardcode passwords in the code. I found a solution in StackOverflow but it only worked for the node buildpack so I decided to create this technology agnostic buildpack.

CLI Installation

For new applications:

$ heroku create --buildpack https://github.com/simon0191/custom-ssh-key-buildpack.git

For existing applications:

$ heroku buildpacks:set https://github.com/simon0191/custom-ssh-key-buildpack.git -a YOUR_APP_NAME