2018-10-25 06:09:59 +02:00
|
|
|
package shareddefaults
|
|
|
|
|
|
|
|
const (
|
|
|
|
// ECSCredsProviderEnvVar is an environmental variable key used to
|
|
|
|
// determine which path needs to be hit.
|
|
|
|
ECSCredsProviderEnvVar = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ECSContainerCredentialsURI is the endpoint to retrieve container
|
2019-02-12 13:23:47 +01:00
|
|
|
// credentials. This can be overridden to test to ensure the credential process
|
2018-10-25 06:09:59 +02:00
|
|
|
// is behaving correctly.
|
|
|
|
var ECSContainerCredentialsURI = "http://169.254.170.2"
|