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 IOException, TencentCloudSDKException
IOException
TencentCloudSDKException
public Credential getCredentials() throws TencentCloudSDKException
getCredentials
in interface CredentialsProvider
TencentCloudSDKException
public void update(Credential credential) throws TencentCloudSDKException
update
in interface Credential.Updater
TencentCloudSDKException
Copyright © 2024. All rights reserved.