AWS SDK Version 3 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.

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

Inheritance Hierarchy

System.Object
  Amazon.EC2.Util.IAMSecurityCredential

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class IAMSecurityCredential

The IAMSecurityCredential type exposes the following members

Constructors

NameDescription
Public Method IAMSecurityCredential()

Properties

NameTypeDescription
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