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.
A named group of options that are persisted and used to obtain AWSCredentials.
public class CredentialProfile
The CredentialProfile type exposes the following members
Construct a new CredentialProfile.
True if the properties of the Options object can be converted into AWSCredentials, false otherwise. See Amazon.Runtime.CredentialManagement.CredentialProfileOptions for more details about which options are available.
If CanCreateAWSCredentials is true, returns a short description of the type of credentials that would be created. If CanCreateAWSCredentials is false, return null.
The Amazon.Runtime.CredentialManagement.ICredentialProfileStore that this Amazon.Runtime.CredentialManagement.CredentialProfile is associated with. Null if this Amazon.Runtime.CredentialManagement.CredentialProfile is not associated with a Amazon.Runtime.CredentialManagement.ICredentialProfileStore.
The name of the CredentialProfile
The options to be used to create AWSCredentials.
The region to be used with this CredentialProfile
Gets the AWSCredentials for this profile if CanCreateAWSCredentials is true and AWSCredentials can be created. Throws an exception otherwise. See Amazon.Runtime.CredentialManagement.CredentialProfileOptions for a list of AWSCredentials returned by this method.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5