How do I add multiple age keys to a path_regex in .sops.yaml? #1579
-
Hi guys, I am currently trying to add multiple age public keys to a single path_regex in a .sops.yaml file. I've tried doing the I've also tried updating the creation_rules:
- path_regex: .*\.env$
age: >-
age1a5c726yqajxf635dtvkt5pfydfg9mjf72dn458u53arjx3g5tphsxa3u3w
age1wwaz575rrr6stntm75ckhr00eqjc9nlg6p63trfyz97gf6h8fs3sh5le8h But then when I try to create a new file: sops test.env It gives this error:
I'm at my wits end - how do I add multiple age keys so that anyone with at least 1 of the private key can encrypt/decrypt the file? Is there something I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you need to separate the keys by comma, not by space:
|
Beta Was this translation helpful? Give feedback.
I think you need to separate the keys by comma, not by space: