ReferenceCLIPg

nevia pg connect

Show a database's connection and password

nevia pg connect [FLAGS] [DATABASE]

  • Aliases: url

Pass --uri to print only the postgres:// URI, or --pooled for the pooled URI. The database must be ready or sleeping.

Arguments

  • [DATABASE] - Database ID or name (optional when the workspace has one database)

Options

  • --uri - Print only the connection URI
  • --pooled - Print only the pooled connection URI
  • --ca <FILE> - File to write the server CA certificate to (PEM)
  • -h, --help - Print help

On this page