-
Notifications
You must be signed in to change notification settings - Fork 912
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
encrypted_regex for particular nodes in yaml? #1367
Comments
This isn't possible right now. What you can do is using comments to determine what to encrypt and what not. This feature has been merged in |
Hmm, I'm sorry, actually it hasn't been merged yet. It's in #974. |
#974 is about using a comment to pick what is encrypted, not field name itself. Regex by the name itself seems to be already supported: https://github.com/getsops/sops#48encrypting-only-parts-of-a-file I think what OP is asking for is that there might need to be another flag like Would changing existing |
IMO yes. I don't think this is something we will add anytime soon though, so using comments and #974 is the best way to achieve what OP wants. |
Hello,
For the given yaml, how can I write an
encrypted_regex
to only match "Default" under "B"?If I use
encrypted_regex: "Default"
, it encrypts "Default" under both "A" and "B".Version info
Thank you.
The text was updated successfully, but these errors were encountered: