mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
Secret handling for Yandex, TreasureData, & Postgres/CockroachDB SSL (#5312)
This commit is contained in:
parent
fbe57de53c
commit
52ae7bedb2
@ -169,7 +169,7 @@ class PostgreSQL(BaseSQLQueryRunner):
|
||||
},
|
||||
"order": ["host", "port", "user", "password"],
|
||||
"required": ["dbname"],
|
||||
"secret": ["password"],
|
||||
"secret": ["password", "sslrootcertFile", "sslcertFile", "sslkeyFile"],
|
||||
"extra_options": [
|
||||
"sslmode",
|
||||
"sslrootcertFile",
|
||||
|
@ -53,6 +53,7 @@ class TreasureData(BaseQueryRunner):
|
||||
"default": False,
|
||||
},
|
||||
},
|
||||
"secret": ["apikey"],
|
||||
"required": ["apikey", "db"],
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,7 @@ class YandexMetrica(BaseSQLQueryRunner):
|
||||
return {
|
||||
"type": "object",
|
||||
"properties": {"token": {"type": "string", "title": "OAuth Token"}},
|
||||
"secret": ["token"],
|
||||
"required": ["token"],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user