Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.29 KB

README.md

File metadata and controls

40 lines (28 loc) · 2.29 KB

Blackbox Buildpack

This is a buildpack for decrypting arbitrary files with blackbox before running other heroku buildpacks. It allows you to place sensitive credentials under version control in encrypted format, then allow heroku to decrypt them at deploy time.

Authorship

Usage

  • configure your app.json file such that this runs before your app is built
  • THEN: all config files encrypted locally with blackbox will be decrypted on heroku before your app is compiled on each deploy (yay!)

Dependencies

This buildpack makes a lot of assumptions about dependencies, but tries to provide useful errors if assumptions don't hold.

For examaple, it:

Hacking

If you want to tinker, almost all of the action happens in bin/compile. Poke around!

For docs on Heroku's buildpack API, see: https://devcenter.heroku.com/articles/buildpack-api