﻿namespace DNCP.TencentCOS
{
    /// <summary>
    /// 腾讯COS存储对象配置信息
    /// </summary>
    public class COSOptions
    {
        /// <summary>
        /// 应用ID
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// API调用者身份标识 
        /// </summary>
        public string SecretId { get; set; }

        /// <summary>
        /// 密钥
        /// </summary>
        public string SecretKey { get; set; }

        /// <summary>
        ///  token过期时间 单位：秒,最大值为：7776000 (90天)
        /// </summary>
        public int Expired { get; set; } = 7776000;
    }
}
