Unverified Commit 18cd9886 authored by Brian Downs's avatar Brian Downs Committed by GitHub

Merge pull request #3180 from briandowns/security-issue-584

add etcd s3 secret and access key flags to secret data
parents 503d6813 d9381b84
......@@ -102,11 +102,15 @@ func isSecret(key string) bool {
version.ProgramUpper + "_DATASTORE_ENDPOINT",
version.ProgramUpper + "_AGENT_TOKEN",
version.ProgramUpper + "_CLUSTER_SECRET",
"AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY",
"--token",
"-t",
"--agent-token",
"--datastore-endpoint",
"--cluster-secret",
"--etcd-s3-access-key",
"--etcd-s3-secret-key",
}
for _, secret := range secretData {
if key == secret {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment