nais cloudsql proxy

nais cloudsql proxy APP_NAME [flags]

Allows your user to connect to databases and starts a proxy.

Options

-H, --host
Host to proxy to. Defaults to localhost.
-p, --port
Port to use for the proxy. Defaults to 5432.

Inherited options

--config
Specify the PATH to the configuration file.
--confirm-login
Ask for confirmation before starting required login flows. Interactive terminals only.
-e, --environment
Select or filter by Nais ENVIRONMENT, for example dev-gcp or prod-gcp. Overrides the environment configured with nais defaults set environment.
--no-colors
Disable colors in the output.
-r, --reason
Justification for accessing the database. Required for audit logging.
-t, --team
Select the Nais TEAM that owns the resources. Overrides the team configured with nais defaults set team.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.