improvement: include secret metadata in audit logs

This commit is contained in:
Scott Wilson
2025-01-31 17:31:17 -08:00
parent ccee0f5428
commit 6d0534b165
6 changed files with 35 additions and 10 deletions
@@ -1444,7 +1444,7 @@ export const secretServiceFactory = ({
decryptedSecret.secretValue = expandedSecretValue || "";
}
return decryptedSecret;
return decryptedSecret as typeof decryptedSecret & { secretMetadata: undefined };
};
const createSecretRaw = async ({