Constructs an instance for credentials stored in a profile with the specified name.
public StoredProfileAWSCredentials( String profileName, String profilesLocation )
The profile name to search for credentials for
Optional; instructs the SDK to check for the profile in the shared credentials file at the specified location. If not set, the SDK will inspect its own credential store file first before attempting to locate a shared credential file using either the default location beneath the user's home profile folder or the location specified in the AWS_SHARED_CREDENTIALS_FILE environment variable.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5