C# Class Amazon.Runtime.InstanceProfileAWSCredentials

Credentials that are retrieved from the Instance Profile service on an EC2 instance
Inheritance: RefreshingAWSCredentials
Afficher le fichier Open project: scopely/aws-sdk-net Class Usage Examples

Private Properties

Свойство Type Description
GetContents string
GetEarlyRefreshState CredentialsRefreshState
GetFirstRole string
GetRefreshState CredentialsRefreshState
GetRoleCredentials SecurityCredentials
GetServiceInfo SecurityInfo
ValidateResponse void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
GenerateNewCredentials ( ) : CredentialsRefreshState

Private Methods

Méthode Description
GetContents ( Uri uri ) : string
GetEarlyRefreshState ( CredentialsRefreshState state ) : CredentialsRefreshState
GetFirstRole ( ) : string
GetRefreshState ( ) : CredentialsRefreshState
GetRoleCredentials ( ) : SecurityCredentials
GetServiceInfo ( ) : SecurityInfo
ValidateResponse ( SecurityBase response ) : void

Method Details

GenerateNewCredentials() protected méthode

protected GenerateNewCredentials ( ) : CredentialsRefreshState
Résultat CredentialsRefreshState

GetAvailableRoles() public static méthode

Retrieves a list of all roles available through current InstanceProfile service
public static GetAvailableRoles ( ) : IEnumerable
Résultat IEnumerable

InstanceProfileAWSCredentials() public méthode

Constructs a InstanceProfileAWSCredentials object for the first found role
public InstanceProfileAWSCredentials ( ) : System
Résultat System

InstanceProfileAWSCredentials() public méthode

Constructs a InstanceProfileAWSCredentials object for specific role
public InstanceProfileAWSCredentials ( string role ) : System
role string Role to use
Résultat System