| | |
| | | package com.ard.oss.model; |
| | | |
| | | import com.aliyuncs.sts.model.v20150401.AssumeRoleResponse; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import io.minio.credentials.Credentials; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | |
| | | |
| | | private static final int DELAY = 300; |
| | | |
| | | @JsonProperty("access_key_id") |
| | | private String accessKeyId; |
| | | |
| | | @JsonProperty("access_key_secret") |
| | | private String accessKeySecret; |
| | | |
| | | @JsonProperty("expire") |
| | | private Long expire; |
| | | |
| | | @JsonProperty("security_token") |
| | | private String securityToken; |
| | | |
| | | public CredentialsDTO(Credentials credentials, long expire) { |