Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.auth | |
com.amazonaws.auth.presign | |
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.client | |
com.amazonaws.client.builder | |
com.amazonaws.http | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.regions | |
com.amazonaws.util |
Modifier and Type | Method and Description |
---|---|
abstract AWSCredentialsProvider |
RequestConfig.getCredentialsProvider() |
AWSCredentialsProvider |
AmazonWebServiceRequest.getRequestCredentialsProvider()
Returns the optional credentials provider to use to sign this request, overriding the default
credentials provider at the client level.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceRequest.setRequestCredentialsProvider(AWSCredentialsProvider credentialsProvider)
Sets the optional credentials provider to use for this request, overriding the default credentials
provider at the client level.
|
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 |
AWSStaticCredentialsProvider
Simple implementation of AWSCredentialsProvider that just wraps static AWSCredentials.
|
class |
ClasspathPropertiesFileCredentialsProvider
AWSCredentialsProvider implementation that loads AWS security
credentials from a properties file on the classpath. |
class |
ContainerCredentialsProvider
AWSCredentialsProvider implementation that loads credentials
from an Amazon Elastic Container. |
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
Credentials delivered through the Amazon EC2 container service if AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" environment variable is set
and security manager has permission to access the variable,
Instance profile credentials delivered through the Amazon EC2 metadata service
|
class |
EC2ContainerCredentialsProviderWrapper
AWSCredentialsProvider that loads credentials from Amazon EC2 Container Service
if "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" environment variable is set and
security manager has permission to access the variable,
otherwise loads credentials from Amazon EC2 Instance 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.
|
SignerAsRequestSigner(Signer signer,
AWSCredentialsProvider credentialsProvider)
Creates a
SignerAsRequestSigner |
Constructor and Description |
---|
AWSCredentialsProviderChain(List<? extends AWSCredentialsProvider> credentialsProviders)
Constructs a new AWSCredentialsProviderChain with the specified credential providers.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
PresignerParams.credentialsProvider() |
Modifier and Type | Method and Description |
---|---|
PresignerParams.Builder |
PresignerParams.Builder.credentialsProvider(AWSCredentialsProvider credentialsProvider) |
PresignerFacade.PresigningRequest |
PresignerFacade.PresigningRequest.withRequestCredentialsProvider(AWSCredentialsProvider credentialsProvider) |
Constructor and Description |
---|
PresignerParams(URI endpoint,
AWSCredentialsProvider credentialsProvider,
com.amazonaws.internal.auth.SignerProvider signerProvider,
SdkClock clock) |
Modifier and Type | Class and Description |
---|---|
class |
ProfileCredentialsProvider
Credentials provider based on AWS configuration profiles.
|
Modifier and Type | Method and Description |
---|---|
abstract AWSCredentialsProvider |
AwsSyncClientParams.getCredentialsProvider() |
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
AwsClientBuilder.getCredentials()
Gets the AWSCredentialsProvider currently configured in the builder.
|
AWSCredentialsProvider |
AwsClientBuilder.SyncBuilderParams.getCredentialsProvider() |
Modifier and Type | Method and Description |
---|---|
void |
AwsClientBuilder.setCredentials(AWSCredentialsProvider credentialsProvider)
Sets the AWSCredentialsProvider used by the client.
|
Subclass |
AwsClientBuilder.withCredentials(AWSCredentialsProvider credentialsProvider)
Sets the AWSCredentialsProvider used by the client.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
ExecutionContext.getCredentialsProvider()
Returns the credentials provider used for fetching the credentials.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContext.setCredentialsProvider(AWSCredentialsProvider credentialsProvider)
Sets the credentials provider used for fetching the credentials.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static AWSCredentialsProvider |
CredentialUtils.getCredentialsProvider(AmazonWebServiceRequest req,
AWSCredentialsProvider base)
Returns the credentials provider that will be used to fetch the
credentials when signing the request.
|
static AWSCredentialsProvider |
CredentialUtils.getCredentialsProvider(RequestConfig requestConfig,
AWSCredentialsProvider base) |
Modifier and Type | Method and Description |
---|---|
static AWSCredentialsProvider |
CredentialUtils.getCredentialsProvider(AmazonWebServiceRequest req,
AWSCredentialsProvider base)
Returns the credentials provider that will be used to fetch the
credentials when signing the request.
|
static AWSCredentialsProvider |
CredentialUtils.getCredentialsProvider(RequestConfig requestConfig,
AWSCredentialsProvider base) |
Copyright © 2017. All rights reserved.