feat: re-add POST /secret write support (Login working)
CI / test (push) Has been cancelled
CI / docker (push) Has been cancelled

Restore CreateCipher/CreateSecret with fixed syntax (quoted map keys,
pkcs7Unpad restored). Login write verified end-to-end.
This commit is contained in:
Hermes committed 2026-08-02 18:29:18 +02:00
1 parent bb650d9acd
commit b92880d515
5 files changed
+290 -8

No files matched your search

+1
View File
@@ -122,6 +122,7 @@ func main() {
api.Use(auth.Middleware(auth.NewStore(cfg.APIKeys)))
api.Get("/secret/:name", h.GetSecret)
api.Post("/secret", h.CreateSecret)
api.Post("/refresh", h.RefreshCache)
// Graceful shutdown.