What is the right way of look up of .sops.yaml recursively in sub-dir?
#955
-
|
Hi, My From the description under using-sops-yaml-conf-to-select-kms-pgp-for-new-files, I expected sops will look sops' config (
Appreciate! best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
I understand it that sops will search recursively up the tree, not down. So if you have (Seaching recursively down would be a performance nightmare.) |
Beta Was this translation helpful? Give feedback.
-
|
@felixfontein could it be a helpful behavior for sops to search up from the inputfile or outputfile path that is being encrypted rather than $PWD? |
Beta Was this translation helpful? Give feedback.
I understand it that sops will search recursively up the tree, not down.
So if you have
.sops.yamlin/, it will be found when encrypting something in/foo/bar/-- assuming there's no.sops.yamlin/foo/or/foo/bar/itself.(Seaching recursively down would be a performance nightmare.)