diff --git a/DysonNetwork.Drive/Storage/FilePool.cs b/DysonNetwork.Drive/Storage/FilePool.cs index 6d9d4b2..caab4b4 100644 --- a/DysonNetwork.Drive/Storage/FilePool.cs +++ b/DysonNetwork.Drive/Storage/FilePool.cs @@ -1,5 +1,6 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; +using System.Text.Json.Serialization; using DysonNetwork.Shared.Data; using NodaTime; @@ -10,8 +11,8 @@ public class RemoteStorageConfig public string Region { get; set; } = string.Empty; public string Bucket { get; set; } = string.Empty; public string Endpoint { get; set; } = string.Empty; - public string SecretId { get; set; } = string.Empty; - public string SecretKey { get; set; } = string.Empty; + [JsonIgnore] public string SecretId { get; set; } = string.Empty; + [JsonIgnore] public string SecretKey { get; set; } = string.Empty; public bool EnableSigned { get; set; } public bool EnableSsl { get; set; } public string? ImageProxy { get; set; }