com.amazonaws.auth
Class DefaultAWSCredentialsProviderChain
java.lang.Object
com.amazonaws.auth.AWSCredentialsProviderChain
com.amazonaws.auth.DefaultAWSCredentialsProviderChain
- All Implemented Interfaces:
- AWSCredentialsProvider
public class DefaultAWSCredentialsProviderChain
- extends AWSCredentialsProviderChain
AWS credentials provider chain that looks for credentials in this order:
- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
- See Also:
EnvironmentVariableCredentialsProvider
,
SystemPropertiesCredentialsProvider
,
ProfileCredentialsProvider
,
InstanceProfileCredentialsProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAWSCredentialsProviderChain
public DefaultAWSCredentialsProviderChain()
Copyright © 2016. All rights reserved.