From 36490a6014ccd682c1406b54184e3ad95bd646c5 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 12 Apr 2026 22:40:31 -0400 Subject: [PATCH] Move vault secrets under vaults/default/ directory Prepares for future multi-vault support by nesting the secrets file at storage_root/vaults/default/secrets.json instead of storage_root/secrets.json. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/crates/fabro-config/src/storage.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crates/fabro-config/src/storage.rs b/lib/crates/fabro-config/src/storage.rs index 7c999f8f6..b785fbf7e 100644 --- a/lib/crates/fabro-config/src/storage.rs +++ b/lib/crates/fabro-config/src/storage.rs @@ -36,7 +36,7 @@ impl Storage { #[must_use] pub fn secrets_path(&self) -> PathBuf { - self.root.join("secrets.json") + self.root.join("vaults").join("default").join("secrets.json") } #[must_use] @@ -153,7 +153,7 @@ mod tests { ); assert_eq!( storage.secrets_path(), - std::path::Path::new("/tmp/fabro-data/secrets.json") + std::path::Path::new("/tmp/fabro-data/vaults/default/secrets.json") ); assert_eq!( storage.store_dir(),