Repository navigation
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 |
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 |
|
Thanks for answer. SOPS doesn’t enforce the structure of |
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