Daniel Fone

Ruby/Rails Engineer

Managing Heroku Config Vars from the Web

Updated November 2014 — Originally written May 2013

Deprecation Notice

This functionality has now been implemented (in its rightful place) in the Heroku dashboard. The gem no longer maintained. See https://devcenter.heroku.com/changelog-items/455

The Problem

Heroku don’t provide a way to manage an application’s configuration variables through a web interface. Although an application’s ENV shouldn’t really be used for domain-specific configuration or settings that change frequently, sometimes it’s a hassle to drop into a console when doing something as trivial as updating SMTP settings or cycling OAuth tokens.

What I really want to achieve is turning this:

$ heroku config:set GITHUB_USERNAME=joesmith
Adding config vars and restarting myapp... done, v12
GITHUB_USERNAME: joesmith

into this:

heroku-config-update

The Solution

The heroku_config_vars Rails engine provides a web interface for managing an application’s Heroku configuration. This makes it possible for administrators without CLI access to manage their Heroku configuration.

screenshot screenshot screenshot

Installation and usage instructions can be found on github. Feedback, questions, bugs, PRs are welcome!

Enjoy.

comments powered by Disqus