list

Definition

Displays information about connections.

Usage

$ airflow connections list [-h] [--conn-id CONN_ID]
                         [-o table, json, yaml, plain] [-v]

Arguments

Parameter Description

--conn-id

If passed, only items with the specified connection ID will be displayed

-o, --output

Output format. Possible values: table (default), json, yaml, plain. Default: table

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To display information about the specified connection, run:

$ airflow connections list --conn-id ssh_default

Output example:

   |             |           |             |           |        |       |          |      |              | is_extra_en |              |
id | conn_id     | conn_type | description | host      | schema | login | password | port | is_encrypted | crypted     | extra_dejson | get_uri
===+=============+===========+=============+===========+========+=======+==========+======+==============+=============+==============+=============
50 | ssh_default | ssh       | None        | localhost | None   | None  | None     | None | False        | False       | {}           | ssh://localh
   |             |           |             |           |        |       |          |      |              |             |              | ost
Found a mistake? Seleсt text and press Ctrl+Enter to report it