mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
Merge pull request #2677 from hashicorp/b-redact-aws-creds
Redacts AWS join credientials from /v1/agent/self output.
This commit is contained in:
commit
a7b01e51f6
@ -129,8 +129,8 @@ type RetryJoinEC2 struct {
|
|||||||
TagValue string `mapstructure:"tag_value"`
|
TagValue string `mapstructure:"tag_value"`
|
||||||
|
|
||||||
// The AWS credentials to use for making requests to EC2
|
// The AWS credentials to use for making requests to EC2
|
||||||
AccessKeyID string `mapstructure:"access_key_id"`
|
AccessKeyID string `mapstructure:"access_key_id" json:"-"`
|
||||||
SecretAccessKey string `mapstructure:"secret_access_key"`
|
SecretAccessKey string `mapstructure:"secret_access_key" json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// RetryJoinGCE is used to configure discovery of instances via Google Compute
|
// RetryJoinGCE is used to configure discovery of instances via Google Compute
|
||||||
|
Loading…
x
Reference in New Issue
Block a user