feat: added kms encryption and decryption secret bridge

This commit is contained in:
=
2024-07-30 23:03:56 +05:30
parent b563c4030b
commit 8eab27d752
3 changed files with 130 additions and 86 deletions
@@ -365,7 +365,7 @@ export const recursivelyGetSecretPaths = async ({
type TInterpolateSecretArg = {
projectId: string;
decryptSecret: (encryptedValue?: Buffer | null) => string;
decryptSecret: (encryptedValue?: Buffer | null) => string | undefined;
secretDAL: Pick<TSecretV2BridgeDALFactory, "findByFolderId">;
folderDAL: Pick<TSecretFolderDALFactory, "findBySecretPath">;
};