feat: establish dotnet engineering foundation

This commit is contained in:
2026-07-27 15:00:14 +08:00
parent 60a376ea0b
commit 28e9a9fa41
36 changed files with 17301 additions and 89 deletions

View File

@@ -18,7 +18,10 @@ public sealed class TenantSecret : AuditableTenantEntity
public string SecretKey { get; set; } = string.Empty;
public string SecretRef { get; set; } = string.Empty;
public TenantSecretStatus Status { get; set; } = TenantSecretStatus.Active;
public JsonElement SecretPayload { get; set; } = JsonDefaults.Object();
public string EncryptionKeyId { get; set; } = string.Empty;
public byte[] EncryptedPayload { get; set; } = [];
public byte[] EncryptionNonce { get; set; } = [];
public byte[] EncryptionTag { get; set; } = [];
public DateTimeOffset? RotatedAt { get; set; }
public DateTimeOffset? ExpiresAt { get; set; }
}