Class ECSTaskCredentials
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
ContainerCredentialsURIEnvVariable
These constants should not be consumed by client code. They are only relevant in the context of ECS container and, especially, AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable should not be overriden by the client code.
public const string ContainerCredentialsURIEnvVariable = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"
Field Value
EndpointAddress
public const string EndpointAddress = "http://169.254.170.2"
Field Value
Methods
GenerateNewCredentials()
protected override RefreshingAWSCredentials.CredentialsRefreshState GenerateNewCredentials()