Replies: 1 comment 1 reply
-
That's not possible. In YAML you could use comments to determine what exactly to encrypt, but that obviously won't work with JSON. What you could do is use YAML instead, and on decrypt set the output type to JSON to get the extracted file as JSON. Whether that's viable depends on your workflow. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋
Is it possible to encrypt only a specific key within json file?
For instance: how to encrypt
a
's secret, which has "A value" value without touching "B value"?PS i tried to use
--encrypted-regex
, but that didn't help 😞I'd appreciate any help 🙏
Beta Was this translation helpful? Give feedback.
All reactions