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.auth.profile.internal | |
com.amazonaws.auth.profile.internal.securitytoken | |
com.amazonaws.client | |
com.amazonaws.client.builder | |
com.amazonaws.http | |
com.amazonaws.internal | |
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.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withRequestCredentialsProvider(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
Web Identity Token credentials from the environment or container.
|
class |
EC2ContainerCredentialsProviderWrapper
AWSCredentialsProvider that loads credentials from an Amazon Container (e.g. |
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 |
ProcessCredentialsProvider
A credentials provider that can load credentials from an external process.
|
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. |
class |
WebIdentityTokenCredentialsProvider |
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,
SignerProvider signerProvider,
SdkClock clock) |
Modifier and Type | Class and Description |
---|---|
class |
ProfileCredentialsProvider
Credentials provider based on AWS configuration profiles.
|
Modifier and Type | Class and Description |
---|---|
class |
ProfileAssumeRoleCredentialsProvider
Serves assume role credentials defined in a
BasicProfile . |
class |
ProfileProcessCredentialsProvider
A profile-based wrapper around
ProcessCredentialsProvider , implementing the credential_process profile setting. |
class |
ProfileStaticCredentialsProvider
Serves credentials defined in a
BasicProfile . |
Constructor and Description |
---|
Profile(String profileName,
Map<String,String> properties,
AWSCredentialsProvider awsCredentials)
Deprecated.
|
Profile(String profileName,
String sourceProfile,
AWSCredentialsProvider awsCredentials,
RoleInfo roleInfo)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
STSProfileCredentialsServiceProvider |
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
ProfileCredentialsService.getAssumeRoleCredentialsProvider(RoleInfo targetRoleInfo) |
AWSCredentialsProvider |
STSProfileCredentialsServiceLoader.getAssumeRoleCredentialsProvider(RoleInfo targetRoleInfo) |
AWSCredentialsProvider |
RoleInfo.getLongLivedCredentialsProvider()
Provides the credentials that are used to assume the role.
|
Modifier and Type | Method and Description |
---|---|
void |
RoleInfo.setLongLivedCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider)
Provides the credentials that are used to assume the role.
|
RoleInfo |
RoleInfo.withLongLivedCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider)
Provides the credentials that are used to assume the role.
|
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 | Class and Description |
---|---|
class |
StaticCredentialsProvider
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
AmazonWebServiceRequestAdapter.getCredentialsProvider() |
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)
Deprecated.
use appropriate
AwsClientBuilder implementation
for the service being constructed. For example:
AmazonSNSClientBuilder.standard().withRegion(region).build(); |
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 © 2020. All rights reserved.