Package | Description |
---|---|
software.amazon.awssdk.auth.credentials | |
software.amazon.awssdk.auth.credentials.internal |
Modifier and Type | Class and Description |
---|---|
class |
AnonymousCredentialsProvider
Credentials provider that always returns anonymous
AwsCredentials . |
class |
AwsCredentialsProviderChain
AwsCredentialsProvider implementation that chains together multiple credentials providers. |
class |
ContainerCredentialsProvider
AwsCredentialsProvider implementation that loads credentials from a local metadata service. |
class |
DefaultCredentialsProvider
AWS credentials provider chain that looks for credentials in this order:
Java System Properties -
aws.accessKeyId and aws.secretKey
Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
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 |
EnvironmentVariableCredentialsProvider
AwsCredentialsProvider implementation that loads credentials from the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and
AWS_SESSION_TOKEN environment variables. |
class |
HttpCredentialsProvider
Helper class that contains the common behavior of the CredentialsProviders that loads the credentials from a local endpoint on
a container (e.g.
|
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 |
ProfileCredentialsProvider
Credentials provider based on AWS configuration profiles.
|
class |
StaticCredentialsProvider
An implementation of
AwsCredentialsProvider that returns a set implementation of AwsCredentials . |
class |
SystemPropertyCredentialsProvider
AwsCredentialsProvider implementation that loads credentials from the aws.accessKeyId, aws.secretAccessKey and
aws.sessionToken system properties. |
Modifier and Type | Method and Description |
---|---|
AwsCredentialsProvider |
ChildProfileCredentialsProviderFactory.create(AwsCredentialsProvider sourceCredentialsProvider,
Profile profile)
Create a credentials provider for the provided profile, using the provided source credentials provider to authenticate
with AWS.
|
Modifier and Type | Method and Description |
---|---|
AwsCredentialsProviderChain.Builder |
AwsCredentialsProviderChain.Builder.addCredentialsProvider(AwsCredentialsProvider credentialsProviders)
Add a credential provider to the chain, after the credential providers that have already been configured.
|
AwsCredentialsProvider |
ChildProfileCredentialsProviderFactory.create(AwsCredentialsProvider sourceCredentialsProvider,
Profile profile)
Create a credentials provider for the provided profile, using the provided source credentials provider to authenticate
with AWS.
|
AwsCredentialsProviderChain.Builder |
AwsCredentialsProviderChain.Builder.credentialsProviders(AwsCredentialsProvider... credentialsProviders)
Configure the credentials providers that should be checked for credentials, in the order they should be checked.
|
static AwsCredentialsProviderChain |
AwsCredentialsProviderChain.of(AwsCredentialsProvider... awsCredentialsProviders)
Create an AWS credentials provider chain with default configuration that checks the given credential providers.
|
Modifier and Type | Method and Description |
---|---|
AwsCredentialsProviderChain.Builder |
AwsCredentialsProviderChain.Builder.credentialsProviders(Collection<? extends AwsCredentialsProvider> credentialsProviders)
Configure the credentials providers that should be checked for credentials, in the order they should be checked.
|
Modifier and Type | Class and Description |
---|---|
class |
LazyAwsCredentialsProvider
A wrapper for
AwsCredentialsProvider that defers creation of the underlying provider until the first time the
resolveCredentials() method is invoked. |
class |
SystemSettingsCredentialsProvider
Loads credentials providers from the
SdkSystemSetting.AWS_ACCESS_KEY_ID ,
SdkSystemSetting.AWS_SECRET_ACCESS_KEY , and SdkSystemSetting.AWS_SESSION_TOKEN system settings. |
Modifier and Type | Method and Description |
---|---|
Optional<AwsCredentialsProvider> |
ProfileCredentialsUtils.credentialsProvider()
Retrieve the credentials provider for which this profile has been configured, if available.
|
Modifier and Type | Method and Description |
---|---|
static LazyAwsCredentialsProvider |
LazyAwsCredentialsProvider.create(Supplier<AwsCredentialsProvider> delegateConstructor) |
Copyright © 2019. All rights reserved.