Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: updated the sidecar

=53f47be4f50e
diff --git a/backend/src/server/plugins/go-sidecar-forwarding.ts b/backend/src/server/plugins/go-sidecar-forwarding.ts
index f842cd1c9b..a256405cc9 100644
--- a/backend/src/server/plugins/go-sidecar-forwarding.ts
+++ b/backend/src/server/plugins/go-sidecar-forwarding.ts
@@ -2,7 +2,10 @@ import replyFrom from "@fastify/reply-from";
import fp from "fastify-plugin";
// Method + URL combinations to forward to the Go sidecar
-const FORWARDED_ROUTES: { method: string; url: string }[] = [{ method: "GET", url: "/api/v4/secrets" }];
+const FORWARDED_ROUTES: { method: string; url: string }[] = [
+ { method: "GET", url: "/api/v4/secrets" },
+ { method: "GET", url: "/api/v4/secrets/:secretName" }
+];
export const forwardToGoSidecar = fp(async (server, opt: { sidecarUrl: string }) => {
await server.register(replyFrom, {