-
|
When you run Initial StateDirectory StructureRoot
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I'm seeing the same using the keychain provider I do |
Beta Was this translation helpful? Give feedback.
-
|
Fixed in #122. I originally thought the previous behavior (updating secrets in their source file) was the correct approach - it seemed logical that if a secret came from a parent config, updating it should update that parent. But after reading through this discussion and reflecting on it, I agree that behavior was confusing and unexpected. The hierarchical config model should work like CSS or other layered config systems - child configs override parent configs, they don't modify them. When you run The fix makes |
Beta Was this translation helpful? Give feedback.
Fixed in #122.
I originally thought the previous behavior (updating secrets in their source file) was the correct approach - it seemed logical that if a secret came from a parent config, updating it should update that parent. But after reading through this discussion and reflecting on it, I agree that behavior was confusing and unexpected.
The hierarchical config model should work like CSS or other layered config systems - child configs override parent configs, they don't modify them. When you run
fnox set SECRET valuefrom a child directory, you expect it to affect your local config, not silently reach up and modify a parent directory's config.The fix makes
fnox setalways write to the …