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.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
[Obsolete("This class is deprecated and will be removed in a future release. Please update your code to use the Amazon.Util.IAMSecurityCredentialMetadata class, located in the AWSSDK.Core assembly.")]
public class IAMSecurityCredential
The IAMSecurityCredential type exposes the following members
Name | Description | |
---|---|---|
IAMSecurityCredential() |
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 Framework:
Supported in: 4.5 and newer, 3.5