We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cba0f5 commit 3683df3Copy full SHA for 3683df3
1 file changed
config/config.go
@@ -415,15 +415,15 @@ func mergeEnvironmentVariables(c *AgentConfig) *AgentConfig {
415
c.HostName = v
416
}
417
418
- // Support API_KEY and DD_API_KEY but prefer DD_API_KEY.
+ // Support API_KEY and STS_API_KEY but prefer STS_API_KEY.
419
var apiKey string
420
if v := os.Getenv("API_KEY"); v != "" {
421
apiKey = v
422
log.Info("overriding API key from env API_KEY value")
423
424
if v := os.Getenv("STS_API_KEY"); v != "" {
425
426
- log.Infof("overriding API key from env DD_API_KEY value %s", apiKey)
+ log.Infof("overriding API key from env STS_API_KEY value")
427
428
if apiKey != "" {
429
vals := strings.Split(apiKey, ",")
0 commit comments