Uat_Study
parent
b3e37c7ea4
commit
8bb1e8cf43
|
@ -156,7 +156,7 @@ namespace IRaCIS.Api.Controllers
|
||||||
{
|
{
|
||||||
RoleArn = "acs:ram::1899121822495495:role/oss-upload", // 角色ARN,需要替换为你的角色ARN
|
RoleArn = "acs:ram::1899121822495495:role/oss-upload", // 角色ARN,需要替换为你的角色ARN
|
||||||
RoleSessionName = $"session-name-{Guid.NewGuid()}", // 角色会话名称,可自定义
|
RoleSessionName = $"session-name-{Guid.NewGuid()}", // 角色会话名称,可自定义
|
||||||
DurationSeconds = 60, // 令牌有效期(单位:秒),这里设置为1小时
|
DurationSeconds = 900, // 令牌有效期(单位:秒),这里设置为1小时
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue