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 CustomCredentialsProviderChain.java

/**
 * Credentials provider chain that is similar to DefaultAWSCredentialsProviderChain,
 * but also includes the ClasspathPropertiesFileCredentialsProvider.
 */
public class CustomCredentialsProviderChain extends AWSCredentialsProviderChain {

From source file com.amazon.kinesis.streaming.agent.AgentAWSCredentialsProviderChain.java

public class AgentAWSCredentialsProviderChain extends AWSCredentialsProviderChain {
    public AgentAWSCredentialsProviderChain(AgentConfiguration config) {
        super(new AgentAWSCredentialsProvider(config), new EnvironmentVariableCredentialsProvider(),
                new SystemPropertiesCredentialsProvider(), new ContainerCredentialsProvider(),
                new ProfileCredentialsProvider(), new InstanceProfileCredentialsProvider());
    }

From source file com.aws.credentials.AWSCredentialsProvider.java

public class AWSCredentialsProvider extends AWSCredentialsProviderChain {

    public AWSCredentialsProvider() {

        super(new ClasspathPropertiesFileCredentialsProvider(), new InstanceProfileCredentialsProvider(),
                new SystemPropertiesCredentialsProvider(), new EnvironmentVariableCredentialsProvider());

From source file com.dssmp.agent.AgentAWSCredentialsProviderChain.java

/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the

From source file com.gu.logback.appender.kinesis.helpers.CustomCredentialsProviderChain.java

/**
 * 
 * Custom credentials provider chain to look for AWS credentials.
 *
 * Implementation will look for credentials in the following priority:
 *  - AwsCredentials.properties file in classpath

From source file com.peel.kinesisStorm.CustomCredentialsProviderChain.java

/**
 * Credentials provider chain that is similar to DefaultAWSCredentialsProviderChain,
 * but also includes the ClasspathPropertiesFileCredentialsProvider.
 */
public class CustomCredentialsProviderChain extends AWSCredentialsProviderChain {

From source file com.tcl.gateway.firehose.log4j.helper.CustomCredentialsProviderChain.java

/**
 * 
 * Custom credentials provider chain to look for AWS credentials. Implementation
 * will look for credentials in the following priority:
 * <ul>
 * <li>AwsCredentials.properties file in classpath (must contain accessKey and

From source file fi.yle.tools.aws.maven.AuthenticationInfoAWSCredentialsProviderChain.java

final class AuthenticationInfoAWSCredentialsProviderChain extends AWSCredentialsProviderChain {

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

From source file io.vgs.tools.aws.maven.AuthenticationInfoAWSCredentialsProviderChain.java

final class AuthenticationInfoAWSCredentialsProviderChain extends AWSCredentialsProviderChain {

    AuthenticationInfoAWSCredentialsProviderChain(AuthenticationInfo authenticationInfo) {
        super(new DefaultAWSCredentialsProviderChain(),
                new AuthenticationInfoAWSCredentialsProvider(authenticationInfo));
    }

From source file KinesisStormClickstreamApp.CustomCredentialsProviderChain.java

/**
 * Credentials provider chain that is similar to DefaultAWSCredentialsProviderChain,
 * but also includes the ClasspathPropertiesFileCredentialsProvider.
 */
public class CustomCredentialsProviderChain extends AWSCredentialsProviderChain {