using System.ComponentModel.DataAnnotations;
namespace MineTec.ProManager.Storage.Minio
{
///
/// Minio配置类
///
public class MinioConfig
{
///
/// Bucket name
///
public string BucketName { get; set; }
///
/// Location of the server, supports HTTP and HTTPS
///
public string Endpoint { get; set; }
///
/// Access Key for authenticated requests (Optional, can be omitted for anonymous requests)
///
[Required]
public string AccessKey { get; set; }
///
/// Secret Key for authenticated requests (Optional, can be omitted for anonymous requests)
///
[Required]
public string SecretKey { get; set; }
///
/// Optional custom region
///
public string Region { get; set; } = "";
///
/// Optional session token
///
public string SessionToken { get; set; } = "";
}
}