Suppose I have a .sops.yaml config file with these settings:
creation_rules:
- pgp: ...
encrypted_regex: '^(data|stringData)$'
I would like unset the encrypted_regex for a single ad-hoc file encryption. At the moment, it's not possible to do so without changing the config file. If I use --encrypted-regex='' command line option, instead of unsetting it, the regex is taken from the config file instead.
Proposed changes:
Command line options would always take precedence, specifying --encrypted-regex="" will unset the settings from the config file.
Suppose I have a
.sops.yamlconfig file with these settings:I would like unset the
encrypted_regexfor a single ad-hoc file encryption. At the moment, it's not possible to do so without changing the config file. If I use--encrypted-regex=''command line option, instead of unsetting it, the regex is taken from the config file instead.Proposed changes:
Command line options would always take precedence, specifying
--encrypted-regex=""will unset the settings from the config file.