Redacts AWS join credientials from /v1/agent/self output.

pull/2677/head
James Phillips 8 years ago
parent 4f56a2fd0d
commit f0f52bd5f6
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11

@ -129,8 +129,8 @@ type RetryJoinEC2 struct {
TagValue string `mapstructure:"tag_value"`
// The AWS credentials to use for making requests to EC2
AccessKeyID string `mapstructure:"access_key_id"`
SecretAccessKey string `mapstructure:"secret_access_key"`
AccessKeyID string `mapstructure:"access_key_id" json:"-"`
SecretAccessKey string `mapstructure:"secret_access_key" json:"-"`
}
// RetryJoinGCE is used to configure discovery of instances via Google Compute

Loading…
Cancel
Save