From 53c73f0ee5dcd584f7a512366ce88e67c98b47f4 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Wed, 24 Aug 2016 23:27:25 -0700 Subject: [PATCH] Redacts the Circonus API token from stats JSON. --- command/agent/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/config.go b/command/agent/config.go index 3675e100f8..87b3a13526 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -152,7 +152,7 @@ type Telemetry struct { // CirconusAPIToken is a valid API Token used to create/manage check. If provided, // metric management is enabled. // Default: none - CirconusAPIToken string `mapstructure:"circonus_api_token"` + CirconusAPIToken string `mapstructure:"circonus_api_token" json:"-"` // CirconusAPIApp is an app name associated with API token. // Default: "consul" CirconusAPIApp string `mapstructure:"circonus_api_app"`