CLI tools that access CIDB should automatically use Cloud SQL Proxy |
||
Issue descriptionRather than whitelisting corp IPs we should use https://cloud.google.com/sql/docs/mysql/sql-proxy which uses user-based authentication instead. While we do intend to move away from direct CIDB access I think realistically these tools won't have replacements in the medium term.
,
Aug 2
Alternatively, they could use a CI web API and not use SQL at all.
,
Aug 15
,
Aug 21
Trying to understand a bit more: This was done recently for Chromite wasn't it? And by Cloud SQL Proxy you mean using a service account which goes through a proxy for the actual MySQL connection?
,
Aug 21
> This was done recently for Chromite wasn't it? Not that I'm aware of. lib/cidb.py doesn't reference a proxy anywhere anyway... |
||
►
Sign in to add a comment |
||
Comment 1 by la...@chromium.org
, Jul 31