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 temporary security credentials (AccessKeyId, SecretAccessKey, SessionToken, and Expiration) associated with the IAM role.
Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class IAMSecurityCredentialMetadata
The IAMSecurityCredentialMetadata type exposes the following members
Name | Description | |
---|---|---|
![]() |
IAMSecurityCredentialMetadata() |
Name | Type | Description | |
---|---|---|---|
![]() |
AccessKeyId | System.String |
The uniqe id of the security credential |
![]() |
Code | System.String |
The status of the security credential |
![]() |
Expiration | System.DateTime |
The date and time when these credentials expire |
![]() |
LastUpdated | System.DateTime |
The date and time the security credential was last updated |
![]() |
Message | System.String |
Further information about the status of the instance profile |
![]() |
SecretAccessKey | System.String |
The secret key used to sign requests |
![]() |
Token | System.String |
The security token |
![]() |
Type | System.String |
The type of the security credential |
.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