Table of Contents

Class ECSTaskCredentials

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

When running in an ECS container and AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is set, use the given end point to retrieve the credentials.

public class ECSTaskCredentials : URIBasedRefreshingCredentialHelper, IDisposable
Inheritance
ECSTaskCredentials
Implements
Inherited Members

Constructors

ECSTaskCredentials()

public ECSTaskCredentials()

ECSTaskCredentials(IWebProxy)

public ECSTaskCredentials(IWebProxy proxy)

Parameters

proxy IWebProxy

Fields

ContainerCredentialsAuthorizationTokenEnvVariable

public const string ContainerCredentialsAuthorizationTokenEnvVariable = "AWS_CONTAINER_AUTHORIZATION_TOKEN"

Field Value

string

ContainerCredentialsFullURIEnvVariable

public const string ContainerCredentialsFullURIEnvVariable = "AWS_CONTAINER_CREDENTIALS_FULL_URI"

Field Value

string

ContainerCredentialsURIEnvVariable

public const string ContainerCredentialsURIEnvVariable = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"

Field Value

string

EndpointAddress

public const string EndpointAddress = "http://169.254.170.2"

Field Value

string

Methods

GenerateNewCredentials()

protected override RefreshingAWSCredentials.CredentialsRefreshState GenerateNewCredentials()

Returns

RefreshingAWSCredentials.CredentialsRefreshState