Package | Description |
---|---|
com.tencentcloudapi.sts.v20180813 | |
com.tencentcloudapi.sts.v20180813.models |
Modifier and Type | Method and Description |
---|---|
AssumeRoleResponse |
StsClient.AssumeRole(AssumeRoleRequest req)
申请扮演角色临时访问凭证。
1、角色策略组成
(1)角色信任策略:指定谁可以扮演该角色;
(2)角色权限策略:指定扮演角色后可以执行哪些操作。
2、角色可扮演条件
(1)给用户绑定允许调用AssumeRole的策略 ;
(2)将用户添加为角色信任策略中的主体。
|
Constructor and Description |
---|
AssumeRoleRequest(AssumeRoleRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.