public class OIDCCredentialsProvider extends Object implements AlibabaCloudCredentialsProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
OIDCCredentialsProvider.Builder |
| Constructor and Description |
|---|
OIDCCredentialsProvider(String roleArn,
String providerArn,
String oidcTokenFilePath,
String roleSessionName,
String regionId) |
| Modifier and Type | Method and Description |
|---|---|
static OIDCCredentialsProvider.Builder |
builder() |
AlibabaCloudCredentials |
getCredentials() |
public OIDCCredentialsProvider(String roleArn, String providerArn, String oidcTokenFilePath, String roleSessionName, String regionId) throws ClientException
ClientExceptionpublic static OIDCCredentialsProvider.Builder builder()
public AlibabaCloudCredentials getCredentials() throws ClientException, ServerException
getCredentials in interface AlibabaCloudCredentialsProviderClientExceptionServerExceptionCopyright © 2024. All rights reserved.