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.
AWS credentials for API authentication.
Namespace: Amazon.CognitoIdentity.Model
Assembly: AWSSDK.CognitoIdentity.dll
Version: 3.x.y.z
public class Credentials : AWSCredentials
The Credentials type exposes the following members
Name | Description | |
---|---|---|
Credentials() |
Name | Type | Description | |
---|---|---|---|
AccessKeyId | System.String |
Gets and sets the property AccessKeyId. The Access Key portion of the credentials. |
|
Expiration | System.DateTime |
Gets and sets the property Expiration. The date at which these credentials will expire. |
|
SecretKey | System.String |
Gets and sets the property SecretKey. The Secret Access Key portion of the credentials |
|
SessionToken | System.String |
Gets and sets the property SessionToken. The Session Token portion of the credentials |
Name | Description | |
---|---|---|
GetCredentials() |
Returns a copy of ImmutableCredentials corresponding to these credentials |
|
GetCredentialsAsync() | Inherited from Amazon.Runtime.AWSCredentials. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5