-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support OpenSSL secret encryption workflow #66
Comments
This will need some configuration with defaults:
Commands should be:
As per original ticket it should establish the project base directory and use that and function identically anywhere below that. Eg if you have:
Output for 1, 2, 3 should be like this: Decrypted N secrets from DIR matching *SUFFIX With 0 outputting something like: Found and successfully decrypted N secrets in DIR And 4 being the same as 1 but with a leading line like: Created secret with value N bytes long and name NAME in DIR And then followed by the output from 1 which it calls before cleaning up using 3 This spec is a bit different than my original post but I think it's more thorough and useful, too. For review by @stickycode before I go ahead and implement it. |
In my day to day work, environmental secrets are stored encrypted in src/main/secrets and src/main/secrets/values and sub directories thereof. I have a set of scripts to make adding and reviewing and managing the life cycle of secrets easier but it would be nice if this was built into the tool used for managing the source code and doing the builds.
I understand there used to be a kubesec implementation in branchout and that it may be found in the history somewhere - I'll check that out before getting too deep into this, but some thoughts on commands needed:
This should have a few smarts:
I will review this and edit in more or correct things tomorrow, however that's a good start in terms of a spec, and clearly there's a priority order for commands from basic/essential to fancy/optional/extra.
The text was updated successfully, but these errors were encountered: