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