The path at which to locate the ini credentials file. Defaults to the
value of the AWS_SHARED_CREDENTIALS_FILE
environment variable (if
defined) or ~/.aws/credentials
otherwise.
Configuration files are normally cached after the first time they are loaded. When this property is set, the provider will always reload any configuration files loaded before.
A function that returns a promise fulfilled with an MFA token code for
the provided MFA Serial code. If a profile requires an MFA code and
mfaCodeProvider
is not a valid function, the credential provider
promise will be rejected.
The configuration profile to use.
A function that assumes a role and returns a promise fulfilled with credentials for the assumed role.
A function that assumes a role with web identity and returns a promise fulfilled with credentials for the assumed role.
The path at which to locate the ini config file. Defaults to the value of the
AWS_CONFIG_FILE
environment variable (if defined) or~/.aws/config
otherwise.