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 established temporary security credentials of the session.
Directory buckets - These session credentials are only supported for the authentication
and authorization of Zonal endpoint APIs on directory buckets.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class SessionCredentials
The SessionCredentials type exposes the following members
Name | Description | |
---|---|---|
![]() |
SessionCredentials() |
Name | Type | Description | |
---|---|---|---|
![]() |
AccessKeyId | System.String |
Gets and sets the property AccessKeyId. A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically. |
![]() |
Expiration | System.DateTime |
Gets and sets the property Expiration. Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval. |
![]() |
SecretAccessKey | System.String |
Gets and sets the property SecretAccessKey. A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. Signing a request identifies the sender and prevents the request from being altered. |
![]() |
SessionToken | System.String |
Gets and sets the property SessionToken. A part of the temporary security credentials. The session token is used to validate the temporary security credentials. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5