nais postgres psql
nais postgres psql POSTGRES [flags]
Request personal access, open a local relay tunnel and start psql with end-to-end TLS verification. If –reason is omitted, prompt for an audit reason interactively.
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).
--database- Database name for psql (default app).
--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
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-t,--team- Specify the
TEAMto 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.