feature secret rotations v2

This commit is contained in:
Scott Wilson
2025-03-31 20:34:48 -07:00
parent da094383b8
commit 766c1242fd
275 changed files with 9692 additions and 783 deletions
+3 -1
View File
@@ -85,7 +85,9 @@ export const mergePersonalSecrets = (rawSecrets: SecretV3Raw[]) => {
version: el.version,
skipMultilineEncoding: el.skipMultilineEncoding,
path: el.secretPath,
secretMetadata: el.secretMetadata
secretMetadata: el.secretMetadata,
isRotatedSecret: el.isRotatedSecret,
rotationId: el.rotationId
};
if (el.type === SecretType.Personal) {
+5 -1
View File
@@ -54,6 +54,8 @@ export type SecretV3RawSanitized = {
skipMultilineEncoding?: boolean;
secretMetadata?: { key: string; value: string }[];
isReminderEvent?: boolean;
isRotatedSecret?: boolean;
rotationId?: string;
};
export type SecretV3Raw = {
@@ -76,6 +78,8 @@ export type SecretV3Raw = {
tags?: WsTag[];
createdAt: string;
updatedAt: string;
isRotatedSecret?: boolean;
rotationId?: string;
};
export type SecretV3RawResponse = {
@@ -166,7 +170,7 @@ export type TUpdateSecretsV3DTO = {
skipMultilineEncoding?: boolean;
newSecretName?: string;
secretKey: string;
secretValue: string;
secretValue?: string;
secretComment?: string;
secretReminderRepeatDays?: number | null;
secretReminderNote?: string | null;