AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The profile name can be specified in the App.config using the AWSProfileName setting.
The location to search for credentials can be overridden in the App.config using the AWSProfilesLocation setting.
Namespace: Amazon.Runtime
Assembly: AWSSDK.dll
Version: (assembly version)
public class StoredProfileAWSCredentials : AWSCredentials
The StoredProfileAWSCredentials type exposes the following members
Name | Description | |
---|---|---|
![]() |
StoredProfileAWSCredentials() | Constructs an instance of StoredProfileAWSCredentials. This constructor searches for credentials using the account name specified in the App.config. If no account is specified then the default credentials are used. |
![]() |
StoredProfileAWSCredentials(string) | Constructs an instance of StoredProfileAWSCredentials. Credentials will be searched for using the profileName parameter. |
![]() |
StoredProfileAWSCredentials(string, string) | Constructs an instance of StoredProfileAWSCredentials. Credentials will be searched for using the profileName parameter. |
Name | Type | Description | |
---|---|---|---|
![]() |
ProfileName | System.String | Name of the profile being used. |
![]() |
ProfilesLocation | System.String | Location of the profiles, if used. |
Name | Description | |
---|---|---|
![]() |
GetCredentials() | Returns an instance of ImmutableCredentials for this instance |
![]() |
GetCredentialsAsync() |
.NET Framework:
Supported in: 4.5, 4.0, 3.5