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