mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 11:27:47 +00:00
Cleanup
This commit is contained in:
@@ -99,22 +99,6 @@ export const dynamicSecretServiceFactory = ({
|
|||||||
|
|
||||||
const encryptedInput = infisicalSymmetricEncypt(JSON.stringify(inputs));
|
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({
|
const dynamicSecretCfg = await dynamicSecretDAL.create({
|
||||||
type: provider.type,
|
type: provider.type,
|
||||||
version: 1,
|
version: 1,
|
||||||
@@ -128,7 +112,6 @@ export const dynamicSecretServiceFactory = ({
|
|||||||
folderId: folder.id,
|
folderId: folder.id,
|
||||||
name
|
name
|
||||||
});
|
});
|
||||||
console.log("IT WORKED");
|
|
||||||
return dynamicSecretCfg;
|
return dynamicSecretCfg;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user