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 options that are available for creating AWSCredentials with the AWSCredentialsFactory. The type of AWSCredentials that are created depends on which Options are set. Below are the different types of credentials returned, along with the options that are used to obtain them. ( denotes options that are not required) BasicAWSCredentials AccessKey SecretKey SessionAWSCredentials AccessKey SecretKey Token AssmeRoleAWSCredentials SourceProfile RoleArn [ExternalID] [MfaSerial] FederatedAWSCredentials EndpointName RoleArn [UserIdentity]
public class CredentialProfileOptions
The CredentialProfileOptions type exposes the following members
The access key to be used in the AWSCredentials.
Contains the executable information to be used by the process credential retriever to either fetch Basic or Session credentials
The source of credentials to be used to obtain AWSCredentials.
The endpoint name to be used for federated AWSCredentials.
The external id to use in assume role AWSCredentials.
The serial number of the MFA to use in assume role AWSCredentials.
The role ARN to use when creating assume role or federated AWSCredentials.
The secret key to use when creating AWSCredentials.
When this CredentialProfileOptions object references another CredentialProfile, the name of the referenced CredentialProfile.
The session token to be used to create AWSCredentials.
The user identity to use when creating federated AWSCredentials. If not set, the user identity that the code is running under will be used.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5