Skip to content

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

misc: readded file

Sheen Capadngan7dd959e12467
diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFields.tsx
new file mode 100644
index 0000000000..52776c0e9c
--- /dev/null
+++ b/frontend/src/components/secret-syncs/forms/SecretSyncReviewFields/GcpSyncReviewFields.tsx
@@ -0,0 +1,14 @@
+import { useFormContext } from "react-hook-form";
+
+import { SecretSyncLabel } from "@app/components/secret-syncs";
+import { TSecretSyncForm } from "@app/components/secret-syncs/forms/schemas";
+import { SecretSync } from "@app/hooks/api/secretSyncs";
+
+export const GcpSyncReviewFields = () => {
+ const { watch } = useFormContext<
+ TSecretSyncForm & { destination: SecretSync.GCPSecretManager }
+ >();
+ const projectId = watch("destinationConfig.projectId");
+
+ return <SecretSyncLabel label="Project ID">{projectId}</SecretSyncLabel>;
+};