Documentation
¶
Overview ¶
Command cloudsql_proxy forwards local TCP connections to a Cloud SQL instance the way the Cloud SQL Auth Proxy does, logging in with IAM database authentication as the principal of the credentials: GOOGLE_OAUTH_ACCESS_TOKEN when set, Application Default Credentials otherwise. Given a command after "--", it runs the command with the proxy listening and PGHOST, PGPORT, PGUSER and PGSSLMODE set for it, and exits with the command's status.
Click to show internal directories.
Click to hide internal directories.