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 |
ClasspathJsonFileCredentialsProvider
AWSCredentialsProvider implementation that loads AWS security
credentials from a json file on the classpath. |
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
JSON credential file at the default location (~/.bluemix/cos_credentials)
Web Identity Token credentials from the environment or container.
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 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 (IMDS).
|
class |
JsonFileCredentialsProvider
AWSCredentialsProvider implementation that loads IBM security
credentials from a json file provided on initialization. |
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 | Class and Description |
---|---|
class |
JsonCredentialsProvider
Credentials provider based on IBM json configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonStaticCredentialsProvider
Serves credentials defined in a
BasicJsonCredentials . |
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 |
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 | Field and Description |
---|---|
protected AWSCredentialsProvider |
AmazonS3Client.awsCredentialsProvider
Provider for Amazon Web Services credentials.
|
Constructor and Description |
---|
AmazonS3Client(AWSCredentialsProvider credentialsProvider)
Deprecated.
|
AmazonS3Client(AWSCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonS3Client(AWSCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
Constructor and Description |
---|
CryptoModuleDispatcher(com.ibm.cloud.objectstorage.services.kms.AWSKMS kms,
S3Direct s3,
AWSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider encryptionMaterialsProvider,
CryptoConfiguration cryptoConfig) |
S3CryptoModuleBase(com.ibm.cloud.objectstorage.services.kms.AWSKMS kms,
S3Direct s3,
AWSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
CryptoConfiguration cryptoConfig) |
S3CryptoModuleBase(S3Direct s3,
AWSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider kekMaterialsProvider,
CryptoConfiguration cryptoConfig)
For testing purposes only.
|
Constructor and Description |
---|
TransferManager(AWSCredentialsProvider credentialsProvider)
Deprecated.
use
TransferManagerBuilder.withS3Client(AmazonS3) for example:
TransferManagerBuilder.standard().withS3Client(AmazonS3ClientBuilder.standard.withCredentials(credentialsProvider).build()).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 © 2024. All rights reserved.