🐛 Censor some credentials file in pool

This commit is contained in:
2025-07-27 02:43:23 +08:00
parent 57c72bdfbf
commit 0c08bfed5b

View File

@@ -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; }