Example usage for com.amazonaws.auth AWSCredentialsProviderChain subclass-usage

List of usage examples for com.amazonaws.auth AWSCredentialsProviderChain subclass-usage

Introduction

In this page you can find the example usage for com.amazonaws.auth AWSCredentialsProviderChain subclass-usage.

Usage

From source file org.adroitlogic.build.aws.maven.AuthenticationInfoAWSCredentialsProviderChain.java

final class AuthenticationInfoAWSCredentialsProviderChain extends AWSCredentialsProviderChain {

    AuthenticationInfoAWSCredentialsProviderChain(AuthenticationInfo authenticationInfo) {
        super(new EnvironmentVariableCredentialsProvider(), new SystemPropertiesCredentialsProvider(),
                new InstanceProfileCredentialsProvider(),
                new AuthenticationInfoAWSCredentialsProvider(authenticationInfo));

From source file org.apache.storm.kinesis.spout.CredentialsProviderChain.java

/**
 * Class representing chain of mechanisms that will be used in order to connect to kinesis
 */
public class CredentialsProviderChain extends AWSCredentialsProviderChain {
    public CredentialsProviderChain() {
        super(new EnvironmentVariableCredentialsProvider(), new SystemPropertiesCredentialsProvider(),

From source file org.kuali.maven.wagon.auth.MavenAwsCredentialsProviderChain.java

/**
 * This chain searches for AWS credentials in system properties -> environment variables -> ~/.m2/settings.xml -> Amazon's EC2 Instance Metadata Service
 */
public final class MavenAwsCredentialsProviderChain extends AWSCredentialsProviderChain {

    public MavenAwsCredentialsProviderChain(Optional<AuthenticationInfo> auth) {

From source file org.lambadaframework.wagon.AuthenticationInfoAWSCredentialsProviderChain.java

final class AuthenticationInfoAWSCredentialsProviderChain extends AWSCredentialsProviderChain {

    AuthenticationInfoAWSCredentialsProviderChain(AuthenticationInfo authenticationInfo) {
        super(new InstanceProfileCredentialsProvider(), new ProfileCredentialsProvider(),
                new EnvironmentVariableCredentialsProvider(), new SystemPropertiesCredentialsProvider(),
                new InstanceProfileCredentialsProvider());

From source file org.springframework.build.aws.maven.AuthenticationInfoAWSCredentialsProviderChain.java

final class AuthenticationInfoAWSCredentialsProviderChain extends AWSCredentialsProviderChain {

    AuthenticationInfoAWSCredentialsProviderChain(AuthenticationInfo authenticationInfo) {
        super(new EnvironmentVariableCredentialsProvider(), new SystemPropertiesCredentialsProvider(),
                new InstanceProfileCredentialsProvider(),
                new AuthenticationInfoAWSCredentialsProvider(authenticationInfo));