refactor(core): Simplify ExternalSecretsProxy setup and move it to core (#16021)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-06-05 12:49:08 +02:00
committed by GitHub
parent 3e91f3253b
commit 2258a74518
20 changed files with 227 additions and 118 deletions

View File

@@ -11,6 +11,7 @@ import {
ObjectStoreService,
DataDeduplicationService,
ErrorReporter,
ExternalSecretsProxy,
} from 'n8n-core';
import { ensureError, sleep, UserError } from 'n8n-workflow';
@@ -278,6 +279,7 @@ export abstract class BaseCommand extends Command {
async initExternalSecrets() {
const secretsManager = Container.get(ExternalSecretsManager);
await secretsManager.init();
Container.get(ExternalSecretsProxy).setManager(secretsManager);
}
initWorkflowHistory() {