get

Definition

Displays information about a connection.

Usage

$ airflow connections get [-h] [--color {off,auto,on}]
                        [-o table, json, yaml, plain] [-v]
                        conn_id

Arguments

Parameter Description

conn_id

Connection ID needed to display connection information

--color

Use colored output. Possible values: off, auto, on. Default: auto

-o, --output

Output format. Possible values: table, 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 a connection, run:

$ airflow connections get ftp_default

Output example:

   |             |           |             |           |        |         |          |      | is_encrypte | is_extra_en | extra_dejso |
id | conn_id     | conn_type | description | host      | schema | login   | password | port | d           | crypted     | n           | get_uri
===+=============+===========+=============+===========+========+=========+==========+======+=============+=============+=============+=============
18 | ftp_default | ftp       | None        | localhost | None   | airflow | airflow  | 21   | True        | True        | {'key_file' | ftp://airflo
   |             |           |             |           |        |         |          |      |             |             | :           | w:airflow@lo
   |             |           |             |           |        |         |          |      |             |             | '~/.ssh/id_ | calhost:21/?
   |             |           |             |           |        |         |          |      |             |             | rsa',       | __extra__=%7
   |             |           |             |           |        |         |          |      |             |             | 'no_host_ke | B%22key_file
   |             |           |             |           |        |         |          |      |             |             | y_check':   | %22%3A+%22~%
   |             |           |             |           |        |         |          |      |             |             | True}       | 2F.ssh%2Fid_
   |             |           |             |           |        |         |          |      |             |             |             | rsa%22%2C+%2
   |             |           |             |           |        |         |          |      |             |             |             | 2no_host_key
   |             |           |             |           |        |         |          |      |             |             |             | _check%22%3A
   |             |           |             |           |        |         |          |      |             |             |             | +true%7D
Found a mistake? Seleсt text and press Ctrl+Enter to report it