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


public class ProfileCredentialsProvider
extends Object
implements AWSCredentialsProvider
Credentials provider based on AWS configuration profiles. This provider vends AWSCredentials from the profile configuration file for the default profile, or for a specific, named profile.
AWS credential profiles allow you to share multiple sets of AWS security credentials between different tools like the AWS SDK for Java and the AWS CLI.
See http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
Migrating to the AWS SDK for Java v2
The v2 equivalent of this class isProfileCredentialsProvider
See Migration Guide for more information.
See Also:
ProfilesConfigFile