feat: objects in vault are stored as a single secret

Co-authored-by: Dmitry Fedotov <dmitry@uint32.ru>
Co-committed-by: Dmitry Fedotov <dmitry@uint32.ru>
This commit is contained in:
2025-08-10 13:02:38 +03:00
committed by dmitry
parent 32ac8612f1
commit 3757a43318
5 changed files with 94 additions and 40 deletions

View File

@@ -117,7 +117,7 @@ func validateKey(key string) error {
func getPrefixPath(key string) string {
r := []rune(key)
out := []rune{r[0], '/', r[1]}
out := []rune{r[0], os.PathSeparator, r[1]}
return string(out)
}