AWSCredentialsProvider.profile constructor

const AWSCredentialsProvider.profile([
  1. String profileName
])

Creates an AWSCredentialsProvider for credentials from an AWS shared credentials file.

Specify profileName to load from a specific profile. If none is specified, the default profile is used.

Implementation

const factory AWSCredentialsProvider.profile([String profileName]) =
    ProfileCredentialsProvider;