List of usage examples for com.amazonaws.auth AWSCredentialsProvider interface-usage
From source file opendap.aws.auth.NullCredentialsProvider.java
/** * Provides an implementation of the 'null' (a.k.a. anonymous) credentials. **/ public class NullCredentialsProvider implements AWSCredentialsProvider { @Override
From source file org.adroitlogic.build.aws.maven.AuthenticationInfoAWSCredentialsProvider.java
final class AuthenticationInfoAWSCredentialsProvider implements AWSCredentialsProvider { private final AuthenticationInfo authenticationInfo; AuthenticationInfoAWSCredentialsProvider(AuthenticationInfo authenticationInfo) { this.authenticationInfo = authenticationInfo;
From source file org.apache.beam.sdk.io.kinesis.auth.AnonymousAWSCredentialsProvider.java
public class AnonymousAWSCredentialsProvider implements AWSCredentialsProvider { public AnonymousAWSCredentialsProvider() { } public AWSCredentials getCredentials() {
From source file org.apache.beam.sdk.io.kinesis.auth.BasicAWSCredentialsProvider.java
public class BasicAWSCredentialsProvider implements AWSCredentialsProvider { private final String accessKey; private final String secretKey;
From source file org.apache.druid.common.aws.ConfigDrivenAwsCredentialsConfigProvider.java
public class ConfigDrivenAwsCredentialsConfigProvider implements AWSCredentialsProvider { private AWSCredentialsConfig config; public ConfigDrivenAwsCredentialsConfigProvider(AWSCredentialsConfig config) { this.config = config; }
From source file org.apache.druid.common.aws.FileSessionCredentialsProvider.java
public class FileSessionCredentialsProvider implements AWSCredentialsProvider { private final ScheduledExecutorService scheduler = Execs .scheduledSingleThreaded("FileSessionCredentialsProviderRefresh-%d"); private final String sessionCredentialsFile; /**
From source file org.apache.druid.common.aws.LazyFileSessionCredentialsProvider.java
public class LazyFileSessionCredentialsProvider implements AWSCredentialsProvider { private final AWSCredentialsConfig config; /** * The field is declared volatile in order to ensure safe publication of the object * in {@link #getUnderlyingProvider()} without worrying about final modifiers
From source file org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider.java
public class AnonymousAWSCredentialsProvider implements AWSCredentialsProvider { public AWSCredentials getCredentials() { return new AnonymousAWSCredentials(); } public void refresh() {
From source file org.apache.hadoop.fs.s3a.AWSCredentialProviderList.java
/**
* A list of providers.
*
* This is similar to the AWS SDK {@code AWSCredentialsProviderChain},
* except that:
* <ol>
From source file org.apache.hadoop.fs.s3a.BasicAWSCredentialsProvider.java
public class BasicAWSCredentialsProvider implements AWSCredentialsProvider { private String accessKey; private String secretKey; public BasicAWSCredentialsProvider(String accessKey, String secretKey) { this.accessKey = accessKey;