| Modifier and Type | Class and Description |
|---|---|
class |
AwsBasicCredentials
Provides access to the AWS credentials used for accessing services: AWS access key ID and secret access key.
|
class |
AwsSessionCredentials
A special type of
AwsCredentials that provides a session token to be used in service authentication. |
| Modifier and Type | Method and Description |
|---|---|
AwsCredentials |
WebIdentityTokenFileCredentialsProvider.resolveCredentials() |
AwsCredentials |
StaticCredentialsProvider.resolveCredentials() |
AwsCredentials |
ProfileCredentialsProvider.resolveCredentials() |
AwsCredentials |
ProcessCredentialsProvider.resolveCredentials() |
AwsCredentials |
InstanceProfileCredentialsProvider.resolveCredentials() |
AwsCredentials |
DefaultCredentialsProvider.resolveCredentials() |
AwsCredentials |
ContainerCredentialsProvider.resolveCredentials() |
AwsCredentials |
AwsCredentialsProviderChain.resolveCredentials() |
AwsCredentials |
AwsCredentialsProvider.resolveCredentials()
Returns
AwsCredentials that can be used to authorize an AWS request. |
AwsCredentials |
AnonymousCredentialsProvider.resolveCredentials() |
static AwsCredentials |
CredentialUtils.toCredentials(AwsCredentialsIdentity awsCredentialsIdentity)
Converts an
AwsCredentialsIdentity to AwsCredentials. |
| Modifier and Type | Method and Description |
|---|---|
static StaticCredentialsProvider |
StaticCredentialsProvider.create(AwsCredentials credentials)
Create a credentials provider that always returns the provided set of credentials.
|
static boolean |
CredentialUtils.isAnonymous(AwsCredentials credentials)
Determine whether the provided credentials are anonymous credentials, indicating that the customer is not attempting to
authenticate themselves.
|
| Modifier and Type | Method and Description |
|---|---|
AwsCredentials |
HttpCredentialsLoader.LoadedCredentials.getAwsCredentials() |
AwsCredentials |
SystemSettingsCredentialsProvider.resolveCredentials() |
AwsCredentials |
LazyAwsCredentialsProvider.resolveCredentials() |
| Modifier and Type | Field and Description |
|---|---|
static ExecutionAttribute<AwsCredentials> |
AwsSignerExecutionAttribute.AWS_CREDENTIALS
Deprecated.
This is a protected class that is internal to the SDK, so you shouldn't be using it. If you are using it
from execution interceptors, you should instead be overriding the credential provider via the
SdkRequest's
overrideConfiguration.credentialsProvider. If you're using it to call the SDK's signers, you should migrate to a
subtype of HttpSigner. |
| Modifier and Type | Method and Description |
|---|---|
protected AwsCredentials |
AbstractAwsSigner.sanitizeCredentials(AwsCredentials credentials)
Loads the individual access key ID and secret key from the specified credentials, trimming any extra whitespace from the
credentials.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
AbstractAws4Signer.deriveSigningKey(AwsCredentials credentials,
Aws4SignerRequestParams signerRequestParams)
Step 3 of the AWS Signature version 4 calculation.
|
protected byte[] |
AbstractAws4Signer.deriveSigningKey(AwsCredentials credentials,
Instant signingInstant,
String region,
String service) |
protected AwsCredentials |
AbstractAwsSigner.sanitizeCredentials(AwsCredentials credentials)
Loads the individual access key ID and secret key from the specified credentials, trimming any extra whitespace from the
credentials.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SignerMethodResolver.isAnonymous(AwsCredentials credentials) |
static SigningMethod |
SignerMethodResolver.resolveSigningMethodUsed(Signer signer,
ExecutionAttributes executionAttributes,
AwsCredentials credentials)
The signing method can be Header-Auth, streaming-signing auth or Unsigned-payload.
|
| Modifier and Type | Method and Description |
|---|---|
AwsCredentials |
Aws4SignerParams.awsCredentials() |
| Modifier and Type | Method and Description |
|---|---|
B |
Aws4SignerParams.Builder.awsCredentials(AwsCredentials awsCredentials)
Sets the aws credentials to use for computing the signature.
|
B |
Aws4SignerParams.BuilderImpl.awsCredentials(AwsCredentials awsCredentials) |
void |
Aws4SignerParams.BuilderImpl.setAwsCredentials(AwsCredentials awsCredentials) |
Copyright © 2023. All rights reserved.