Skip to content

Instantly share code, notes, and snippets.

@ukd1 ukd1/
Created Nov 15, 2013

What would you like to do?
Super simple shell scripts we use at for encrypting / decrypting / updating our Heroku apps with private environment variables
gpg qa.txt.asc
gpg staging.txt.asc
gpg production.txt.asc
gpg --yes --recipient russ --recipient simon -aes qa.txt
gpg --yes --recipient russ --recipient simon -aes staging.txt
gpg --yes --recipient russ --recipient simon -aes production.txt
gpg -o production.txt -d production.txt.asc
heroku config:set $(sed '/^#/d' production.txt) --app <production-app-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.