feat(infisical-pg): auth injection completed and validation in password router

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent fcfd6b3fb2
commit f3b37de3f3
196 changed files with 1871 additions and 624 deletions
@@ -78,7 +78,7 @@ export const decryptSecretApprovalSecret = (
key
});
return {
_id: encSecret._id,
id: encSecret.id,
version: encSecret.version,
secretKey,
secretValue,
@@ -16,7 +16,7 @@ export enum CommitType {
}
export type TSecretApprovalSecChangeData = {
_id: string;
id: string;
secretKeyCiphertext: string;
secretKeyIV: string;
secretKeyTag: string;
@@ -34,7 +34,7 @@ export type TSecretApprovalSecChangeData = {
};
export type TSecretApprovalSecChange = {
_id: string;
id: string;
version: number;
secretKey: string;
secretValue: string;
@@ -46,7 +46,7 @@ export type TSecretApprovalRequest<
T extends unknown = TSecretApprovalSecChangeData,
J extends unknown = EncryptedSecret
> = {
_id: string;
id: string;
slug: string;
createdAt: string;
committer: string;