Package | Description |
---|---|
com.amazonaws.auth | |
com.amazonaws.auth.profile |
AWS configuration profiles allow you to share multiple sets of AWS
security credentials between different tools such as the AWS SDK for Java
and the AWS CLI.
|
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.regions |
Modifier and Type | Interface and Description |
---|---|
interface |
AWSSessionCredentialsProvider |
Modifier and Type | Class and Description |
---|---|
class |
AWSCredentialsProviderChain
AWSCredentialsProvider implementation that chains together multiple
credentials providers. |
class |
ClasspathPropertiesFileCredentialsProvider
AWSCredentialsProvider implementation that loads AWS security
credentials from a properties file on the classpath. |
class |
DefaultAWSCredentialsProviderChain
AWS credentials provider chain that looks for credentials in this order:
Environment Variables -
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)
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
|
class |
EnvironmentVariableCredentialsProvider
AWSCredentialsProvider implementation that provides credentials
by looking at the: AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY ) and
AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY ) environment variables. |
class |
InstanceProfileCredentialsProvider
Credentials provider implementation that loads credentials from the Amazon
EC2 Instance Metadata Service.
|
class |
PropertiesFileCredentialsProvider
AWSCredentialsProvider implementation that loads AWS security
credentials from a properties file provided on initialization. |
class |
SystemPropertiesCredentialsProvider
AWSCredentialsProvider implementation that provides credentials by
looking at the aws.accessKeyId and aws.secretKey
Java system properties. |
Constructor and Description |
---|
AWSCredentialsProviderChain(AWSCredentialsProvider... credentialsProviders)
Constructs a new AWSCredentialsProviderChain with the specified
credential providers.
|
Modifier and Type | Class and Description |
---|---|
class |
ProfileCredentialsProvider
Credentials provider based on AWS configuration profiles.
|
Modifier and Type | Method and Description |
---|---|
static AWSCredentialsProvider |
AwsSdkMetrics.getCredentialProvider()
Returns the credential provider for the default AWS SDK metric implementation.
|
Modifier and Type | Method and Description |
---|---|
static void |
AwsSdkMetrics.setCredentialProvider(AWSCredentialsProvider provider)
Sets the credential provider for the default AWS SDK metric
implementation; or null if the default is to be used.
|
Modifier and Type | Method and Description |
---|---|
<T extends AmazonWebServiceClient> |
Region.createClient(Class<T> serviceClass,
AWSCredentialsProvider credentials,
ClientConfiguration config)
Creates a new service client of the class given and configures it.
|
Copyright © 2015. All rights reserved.