-
Hi there, Is it possible to somehow add comments to the list of age public keys in creation_rules:
- path_regex: …
encrypted_regex: …
mac_only_encrypted: true
age: >-
age1z9f4…, # Can't write a comment here !
age1e67n…,
age1yy1e…,
age1kto7…,
age1mhxn…,
age133rr…,
age1jy4m… Has anyone encountered that limitation before ? Any elegant solution ? Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I personally generate my I'd put age keys in a list (with comments for each list item with more info, like owner and created timestamp, or something like that), and use that list to generate the corresponding My script roughly looks like this: https://github.com/felixfontein/cfgmgmtcamp-2025-talk/blob/main/demo-1-sops/create-config.yml - I also had variants of this for slightly different use-cases, some versions including using the |
Beta Was this translation helpful? Give feedback.
-
Answering my own question, it is possible to use Key groups to structure your configuration this way: creation_rules:
- path_regex: …
encrypted_regex: …
mac_only_encrypted: true
key_groups:
- age:
- age1z9f4… # Tom
- age1e67n… # Dick
- age1yy1e… # Hary |
Beta Was this translation helpful? Give feedback.
Answering my own question, it is possible to use Key groups to structure your configuration this way: