public class OIDCRoleArnProvider extends Object implements CredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
long |
DurationSeconds |
String |
ProviderId |
String |
Region |
String |
RoleArn |
String |
RoleSessionName |
String |
WebIdentityToken |
| Constructor and Description |
|---|
OIDCRoleArnProvider() |
OIDCRoleArnProvider(String region,
String providerId,
String webIdentityToken,
String roleArn,
String roleSessionName,
long durationSeconds) |
| Modifier and Type | Method and Description |
|---|---|
Credential |
getCredentials() |
public String Region
public String ProviderId
public String WebIdentityToken
public String RoleArn
public String RoleSessionName
public long DurationSeconds
public OIDCRoleArnProvider(String region, String providerId, String webIdentityToken, String roleArn, String roleSessionName, long durationSeconds)
public OIDCRoleArnProvider()
throws IOException,
TencentCloudSDKException
IOExceptionTencentCloudSDKExceptionpublic Credential getCredentials() throws TencentCloudSDKException
getCredentials in interface CredentialsProviderTencentCloudSDKExceptionCopyright © 2023. All rights reserved.