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 credentials are stored under the current users AppData folder encrypted using Windows Data Protection API.
To reference the profile from an application's App.config or Web.config use the AWSProfileName setting.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="development"/> </appSettings> </configuration>
Namespace: Amazon.Util
Assembly: AWSSDK.dll
Version: (assembly version)
public static class ProfileManager : Object
The ProfileManager type exposes the following members
Name | Description | |
---|---|---|
GetAWSCredentials(string) | Gets the AWS credentials from the SDK account store. | |
ListProfileNames() | List the profile names registered with the SDK account store. | |
RegisterProfile(string, string, string) | Register a profile that can later be referenced by the profileName. This profile will only be visible for the current user. | |
TryGetAWSCredentials(string, out AWSCredentials) | Tries to get the AWS credentials from the SDK account store. | |
UnregisterProfile(string) | Unregistered a profile from the SDK account store. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5