How to force format in .sops.yaml ? #2186
-
|
I am trying to encrypt WireGuard configuration files ( I know I can achieve this via the CLI using the explicit I tried multiple guesswork variations in my ---
creation_rules:
- path_regex: '.*\.(conf|ini)$'
encrypted_regex: '^(PrivateKey|PresharedKey)$'
input-type: ini
output-type: ini
input_type: ini
output_type: ini
format: ini
parser: ini |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Right now, you can't force it with You cannot put random things in the config file and expect it to work. The format is documented here: https://getsops.io/docs/#config-file-format |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for answer. SOPS doesn’t enforce the structure of |
Beta Was this translation helpful? Give feedback.
Right now, you can't force it with
.sops.yaml.You cannot put random things in the config file and expect it to work. The format is documented here: https://getsops.io/docs/#config-file-format