ecs_container.go 441 B

123456789101112
  1. package shareddefaults
  2. const (
  3. // ECSCredsProviderEnvVar is an environmental variable key used to
  4. // determine which path needs to be hit.
  5. ECSCredsProviderEnvVar = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"
  6. )
  7. // ECSContainerCredentialsURI is the endpoint to retrieve container
  8. // credentials. This can be overriden to test to ensure the credential process
  9. // is behaving correctly.
  10. var ECSContainerCredentialsURI = "http://169.254.170.2"