public class OIDCRoleArnProvider extends Object implements CredentialsProvider, Credential.Updater
| Modifier and Type | Field and Description |
|---|---|
long |
DurationSeconds |
long |
ExpirationReservationTime |
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() |
void |
update(Credential credential) |
public String Region
public String ProviderId
public String WebIdentityToken
public String RoleArn
public String RoleSessionName
public long DurationSeconds
public long ExpirationReservationTime
public OIDCRoleArnProvider(String region, String providerId, String webIdentityToken, String roleArn, String roleSessionName, long durationSeconds)
public OIDCRoleArnProvider()
throws TencentCloudSDKException
TencentCloudSDKExceptionpublic Credential getCredentials() throws TencentCloudSDKException
getCredentials in interface CredentialsProviderTencentCloudSDKExceptionpublic void update(Credential credential) throws TencentCloudSDKException
update in interface Credential.UpdaterTencentCloudSDKExceptionCopyright © 2025. All rights reserved.