Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added pre-processing to env.sh for things like encryption #142

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nerdy-sam
Copy link

Took advantage of the iron-cli dep shell-source feature of custom sourcing wrappers. This way you can decide how to source the env.sh file. The example given is encrypting your env.sh files so creds don't show up in the git repo. Wouldn't be any problem to have different keys for development and production if desired.

Previously scaffolded out config/development/env.sh remains untouched.
Adds scaffolding for bin/env_handler.sh with encrypting example commented out.
Should work on windows (took great care to build paths windows compatible).... tested on OSX....

mitzip and others added 3 commits April 20, 2015 16:35
with a custom env.sh sourcing script you can do things like gpg encrypt your env.sh file
Use env_handler.sh as a pre-processor for your env.sh scripts
@nerdy-sam nerdy-sam mentioned this pull request Apr 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant