public AWSCredentials getCredentials() {
        return awsCredentials.getCredentials();
    }
Holds the AWS Credentials for the profile.
aws-java-sdk-core/src/main/java/com/amazonaws/auth/profile/internal/Profile.java