public class CosStsClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
STS_DEFAULT_HOST |
| Constructor and Description |
|---|
CosStsClient() |
| Modifier and Type | Method and Description |
|---|---|
static Response |
getCredential(TreeMap<String,Object> config)
STS的GetFederationToken接口
https://cloud.tencent.com/document/product/1312/48195
|
static String |
getPolicy(List<Scope> scopes) |
static Response |
getRoleCredential(AssumeRoleParam assumeRoleParam)
STS的AssumeRole接口
ref:https://cloud.tencent.com/document/product/1312/48197
v1签名:https://cloud.tencent.com/document/api/1312/48201#.E4.BD.BF.E7.94.A8.E7.AD.BE.E5.90.8D.E6.96.B9.E6.B3.95-v1-.E7.9A.84.E5.85.AC.E5.85.B1.E5.8F.82.E6.95.B0
|
public static final String STS_DEFAULT_HOST
public static Response getCredential(TreeMap<String,Object> config) throws IOException
IOExceptionpublic static Response getRoleCredential(AssumeRoleParam assumeRoleParam) throws Exception
ExceptionCopyright © 2022. All rights reserved.