Define beans and auto configuration over aliyun-sdk
-
aliyun-library
-
spring-boot-aliyun-starter
Gradle
implementation("com.glancebar.aliyun:spring-boot-starter-aliyun:LATEST")
Maven
<dependency>
<groupId>com.glancebar.wechat</groupId>
<artifactId>spring-boot-starter-aliyun</artifactId>
<version>LATEST</version>
</dependency>
aliyun:
sts:
access-key-id: your-id
access-key-secret: your-secret
role-arn: your-role-arn
endpoint: sts.cn-beijing.aliyuncs.com
duration-seconds: 36000
stsService.generateStsSignature("username")