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 resolver that provides an Amazon.Runtime.AWSCredentials identity.
The default search order used is described in the developer guide, but it can be overwritten by setting the Amazon.AWSConfigs.AWSCredentialsGenerators property.Namespace: Amazon.Runtime.Credentials
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class DefaultAWSCredentialsIdentityResolver IIdentityResolver, IIdentityResolver<AWSCredentials>
The DefaultAWSCredentialsIdentityResolver type exposes the following members
Name | Description | |
---|---|---|
![]() |
DefaultAWSCredentialsIdentityResolver() |
Name | Description | |
---|---|---|
![]() ![]() |
GetCredentials(IClientConfig) |
Search the environment for configured AWS credentials. The search includes environment variables, "default" AWS credentials profiles and EC2 instance metadata. |
![]() ![]() |
GetCredentialsAsync(IClientConfig) |
Search the environment for configured AWS credentials. The search includes environment variables, "default" AWS credentials profiles and EC2 instance metadata. |
![]() |
ResolveIdentity(IClientConfig) | |
![]() |
ResolveIdentityAsync(IClientConfig, CancellationToken) |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer