C# 클래스 Amazon.Runtime.InstanceProfileAWSCredentials

Credentials that are retrieved from the Instance Profile service on an EC2 instance
상속: RefreshingAWSCredentials
파일 보기 프로젝트 열기: scopely/aws-sdk-net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetContents string
GetEarlyRefreshState CredentialsRefreshState
GetFirstRole string
GetRefreshState CredentialsRefreshState
GetRoleCredentials SecurityCredentials
GetServiceInfo SecurityInfo
ValidateResponse void

공개 메소드들

메소드 설명
GetAvailableRoles ( ) : IEnumerable

Retrieves a list of all roles available through current InstanceProfile service

InstanceProfileAWSCredentials ( ) : System

Constructs a InstanceProfileAWSCredentials object for the first found role

InstanceProfileAWSCredentials ( string role ) : System

Constructs a InstanceProfileAWSCredentials object for specific role

보호된 메소드들

메소드 설명
GenerateNewCredentials ( ) : CredentialsRefreshState

비공개 메소드들

메소드 설명
GetContents ( Uri uri ) : string
GetEarlyRefreshState ( CredentialsRefreshState state ) : CredentialsRefreshState
GetFirstRole ( ) : string
GetRefreshState ( ) : CredentialsRefreshState
GetRoleCredentials ( ) : SecurityCredentials
GetServiceInfo ( ) : SecurityInfo
ValidateResponse ( SecurityBase response ) : void

메소드 상세

GenerateNewCredentials() 보호된 메소드

protected GenerateNewCredentials ( ) : CredentialsRefreshState
리턴 CredentialsRefreshState

GetAvailableRoles() 공개 정적인 메소드

Retrieves a list of all roles available through current InstanceProfile service
public static GetAvailableRoles ( ) : IEnumerable
리턴 IEnumerable

InstanceProfileAWSCredentials() 공개 메소드

Constructs a InstanceProfileAWSCredentials object for the first found role
public InstanceProfileAWSCredentials ( ) : System
리턴 System

InstanceProfileAWSCredentials() 공개 메소드

Constructs a InstanceProfileAWSCredentials object for specific role
public InstanceProfileAWSCredentials ( string role ) : System
role string Role to use
리턴 System