Feat: Azure DevOps Integration

This commit is contained in:
Daniel Hougaard
2024-08-26 15:13:18 +04:00
parent c130fbddd9
commit 326764dd41
10 changed files with 428 additions and 12 deletions
@@ -98,6 +98,23 @@ export const dynamicSecretServiceFactory = ({
if (!isConnected) throw new BadRequestError({ message: "Provider connection failed" });
const encryptedInput = infisicalSymmetricEncypt(JSON.stringify(inputs));
console.log("YES THIS IS WHERE WE ARE");
console.log({
type: provider.type,
version: 1,
inputIV: encryptedInput.iv,
inputTag: encryptedInput.tag,
inputCiphertext: encryptedInput.ciphertext,
algorithm: encryptedInput.algorithm,
keyEncoding: encryptedInput.encoding,
maxTTL,
defaultTTL,
folderId: folder.id,
name
});
const dynamicSecretCfg = await dynamicSecretDAL.create({
type: provider.type,
version: 1,
@@ -111,6 +128,7 @@ export const dynamicSecretServiceFactory = ({
folderId: folder.id,
name
});
console.log("IT WORKED");
return dynamicSecretCfg;
};