Add non-e2ee option for getSecret, getSecrets, start createSecret

This commit is contained in:
Tuan Dang
2023-06-09 21:20:12 +01:00
parent 00fae0023a
commit 0187d3012b
8 changed files with 202 additions and 35 deletions
@@ -8,12 +8,14 @@ export interface CreateSecretParams {
folderId?: string;
type: "shared" | "personal";
authData: AuthData;
secretKeyCiphertext: string;
secretKeyIV: string;
secretKeyTag: string;
secretValueCiphertext: string;
secretValueIV: string;
secretValueTag: string;
secretKeyCiphertext?: string;
secretKeyIV?: string;
secretKeyTag?: string;
secretValue?: string;
secretValueCiphertext?: string;
secretValueIV?: string;
secretValueTag?: string;
secretComment?: string;
secretCommentCiphertext?: string;
secretCommentIV?: string;
secretCommentTag?: string;