2018-10-15 05:48:51 -04: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-01-18 04:52:51 -05:00
|
|
|
// credentials. This can be overridden to test to ensure the credential process
|
2018-10-15 05:48:51 -04:00
|
|
|
// is behaving correctly.
|
|
|
|
var ECSContainerCredentialsURI = "http://169.254.170.2"
|