ProfileCredentialsProvider (AWS SDK for Java

Credentials provider based on AWS configuration profiles. This loads credentials from a ProfileFile, allowing you to share multiple sets of AWS security credentials between different tools like the AWS SDK for Java and the AWS CLI.

See

If this credentials provider is loading assume-role credentials from STS, it should be cleaned up with close() if it is no longer being used.

You Might Also Like