Class ProfileTokenProvider

java.lang.Object
software.amazon.awssdk.auth.token.credentials.ProfileTokenProvider
All Implemented Interfaces:
AutoCloseable, SdkTokenProvider, IdentityProvider<TokenIdentity>, SdkAutoCloseable

public final class ProfileTokenProvider extends Object implements SdkTokenProvider, SdkAutoCloseable
Token provider based on AWS configuration profiles. This loads token providers that require ProfileFile configuration, allowing the user to share settings 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

See Also: