feature: disable secret deletion sync option

This commit is contained in:
Scott Wilson
2025-03-14 15:24:21 -07:00
parent 3756a1901d
commit d4c69d8e5d
23 changed files with 112 additions and 34 deletions
@@ -396,6 +396,8 @@ export const AwsSecretsManagerSyncFns = {
}
}
if (syncOptions.disableSecretDeletion) return;
for await (const secretKey of Object.keys(awsSecretsRecord)) {
if (!(secretKey in secretMap) || !secretMap[secretKey].value) {
try {