heroku config vars code example
Example 1: export command for node in heroku
$ heroku config:set GITHUB_USERNAME=joesmith
Adding config vars and restarting myapp... done, v12
GITHUB_USERNAME: joesmith
Example 2: heroku variables console
To check variables:
heroku config
To set variables:
heroku config:set VARIABLE_HERE=value
Example 3: heroku how to access config vars django
from boto.s3.connection import S3Connection
s3 = S3Connection(os.environ['S3_KEY'], os.environ['S3_SECRET'])