public class DefaultAWSCredentialsProviderChain extends AWSCredentialsProviderChain
AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
(RECOMMENDED since they are recognized by all the AWS SDKs and CLI except for .NET),
or AWS_ACCESS_KEY
and AWS_SECRET_KEY
(only recognized by Java SDK)
Migrating to the AWS SDK for Java v2
The v2 equivalent of this class is DefaultCredentialsProvider
See Migration Guide for more information.
Constructor and Description |
---|
DefaultAWSCredentialsProviderChain() |
Modifier and Type | Method and Description |
---|---|
static DefaultAWSCredentialsProviderChain |
getInstance() |
getCredentials, getReuseLastProvider, refresh, setReuseLastProvider
public static DefaultAWSCredentialsProviderChain getInstance()