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

Feature Request: --recursive for inplace encryption/decryption, given config file #1204

Open
schlichtanders opened this issue Apr 23, 2023 · 0 comments

Comments

@schlichtanders
Copy link

Motivation

I would like to use sops for kubernetes in the sense of storing encrypted files in git and then as the normal deploy flow

  1. decrypt everything
  2. build kubernetes yaml files and apply them
  3. encrypt everything

I think this workflow is also useful for many others.

Current Status

So far one has to write a manual for loop with sops -d -i mycurrentfile and sops -e -i mycurrentfile, and ignore if sops throws an error like error loading config: no matching creation rules found.

Feature Request

It would be great if the standard sops command has a --recursive flag which can be combined with -d -i and -e -i to recursively apply the rules in .sops.yaml to all the files in the current directory and subdirectories. If something is not in the .sops.yaml rules, it should not be touched.

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

No branches or pull requests

1 participant