Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: propagate set secrets error for flyio integration
Scott Wilsonbabe70e00f87
diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.tsindex 249307f8d4..93318762b5 100644--- a/backend/src/services/integration-auth/integration-sync-secret.ts+++ b/backend/src/services/integration-auth/integration-sync-secret.ts@@ -2257,7 +2257,9 @@ const syncSecretsFlyio = async ({}`;- await request.post(+ type TFlyioErrors = { message: string }[];++ const setSecretsResp = await request.post<{ errors?: TFlyioErrors }>(IntegrationUrls.FLYIO_API_URL,{query: SetSecrets,@@ -2279,6 +2281,10 @@ const syncSecretsFlyio = async ({});+ if (setSecretsResp.data.errors?.length) {+ throw new Error(JSON.stringify(setSecretsResp.data.errors));+ }+// get secretsinterface FlyioSecret {name: string;