|
|
@ -102,11 +102,15 @@ func isSecret(key string) bool {
|
|
|
|
version.ProgramUpper + "_DATASTORE_ENDPOINT",
|
|
|
|
version.ProgramUpper + "_DATASTORE_ENDPOINT",
|
|
|
|
version.ProgramUpper + "_AGENT_TOKEN",
|
|
|
|
version.ProgramUpper + "_AGENT_TOKEN",
|
|
|
|
version.ProgramUpper + "_CLUSTER_SECRET",
|
|
|
|
version.ProgramUpper + "_CLUSTER_SECRET",
|
|
|
|
|
|
|
|
"AWS_ACCESS_KEY_ID",
|
|
|
|
|
|
|
|
"AWS_SECRET_ACCESS_KEY",
|
|
|
|
"--token",
|
|
|
|
"--token",
|
|
|
|
"-t",
|
|
|
|
"-t",
|
|
|
|
"--agent-token",
|
|
|
|
"--agent-token",
|
|
|
|
"--datastore-endpoint",
|
|
|
|
"--datastore-endpoint",
|
|
|
|
"--cluster-secret",
|
|
|
|
"--cluster-secret",
|
|
|
|
|
|
|
|
"--etcd-s3-access-key",
|
|
|
|
|
|
|
|
"--etcd-s3-secret-key",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for _, secret := range secretData {
|
|
|
|
for _, secret := range secretData {
|
|
|
|
if key == secret {
|
|
|
|
if key == secret {
|
|
|
|