EnvironmentVariableCredentialsProvider (AWS SDK for Java (original) (raw)


public class EnvironmentVariableCredentialsProvider
extends Object
implements AWSCredentialsProvider
AWSCredentialsProvider implementation that provides credentials by looking at the: AWS_ACCESS_KEY_ID (orAWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY) environment variables. If the AWS_SESSION_TOKEN environment variable is also set then temporary credentials will be used.
Migrating to the AWS SDK for Java v2
The v2 equivalent of this class isEnvironmentVariableCredentialsProvider
See Migration Guide for more information.