Commit e48d4b54 authored by Brian Downs's avatar Brian Downs

add etcd s3 secret and access key flags and env vars to secret data

parent 524681fc
......@@ -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