AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
The temporary security credentials (AccessKeyId, SecretAccessKey, SessionToken, and Expiration) associated with the IAM role.

Inheritance Hierarchy


Namespace: Amazon.EC2.Util
Assembly: AWSSDK.dll
Version: (assembly version)


public class IAMSecurityCredential : Object

The IAMSecurityCredential type exposes the following members


Public Method IAMSecurityCredential()


Public Property AccessKeyId System.String The uniqe id of the security credential
Public Property Code System.String The status of the security credential
Public Property Expiration System.DateTime The date and time when these credentials expire
Public Property LastUpdated System.DateTime The date and time the security credential was last updated
Public Property Message System.String Further information about the status of the instance profile
Public Property SecretAccessKey System.String The secret key used to sign requests
Public Property Token System.String The security token
Public Property Type System.String The type of the security credential

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5