Skip to content

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

fix: use force flag when deleting secrets from aws secret manager integration

Scott Wilson40ef75d3bd98
diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.ts
index 912f1fafdc..f3010a7d75 100644
--- a/backend/src/services/integration-auth/integration-sync-secret.ts
+++ b/backend/src/services/integration-auth/integration-sync-secret.ts
@@ -1167,7 +1167,8 @@ const syncSecretsAWSSecretManager = async ({
} else {
await secretsManager.send(
new DeleteSecretCommand({
- SecretId: secretId
+ SecretId: secretId,
+ ForceDeleteWithoutRecovery: true
})
);
}