nais postgres proxy

nais postgres proxy POSTGRES [flags]

Request personal access and listen on loopback. If –reason is omitted, prompt for an audit reason interactively. PostgreSQL clients must verify the server certificate; use psql for automatic TLS setup. Credentials are not printed unless –print-password is set.

Options

--access-level
Access level: read, write, admin (application database owner privileges), or maintain (instance monitoring and maintenance).
--branch
Branch to access (defaults to the active branch).
--host
Local loopback address (default 127.0.0.1).
-p, --port
Local port (default random).
--print-password
Print the database password to stdout (sensitive).
--reason
Reason for personal access (at least 10 characters); prompted if omitted interactively.
--ttl
Requested lifetime (default 30m, maximum 1h).

Inherited options

--config
Specify the PATH to the configuration file.
-e, --environment
Specify the ENVIRONMENT to use for this command. Overrides the default environment from configuration.
--no-colors
Disable colors in the output.
-t, --team
Specify the TEAM to use for this command. Overrides the default team from configuration.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.