package cn.pluss.platform.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Data
@Configuration
@PropertySource("classpath:config/application-common.yml")
public class StsConfig {
    @Value("${aliyun.sts.endpoint}")
    private String endpoint;       //连接区域地址
    @Value("${aliyun.keyid}")
    private String keyid;    //连接keyId
    @Value("${aliyun.keysecret}")
    private String keysecret;    //连接秘钥
    @Value("${aliyun.region-id}")
    private String regionId;
    @Value("${aliyun.sts.role-arn}")
    private String roleArn;
}
