airflow connections add <conn_id>
Add a connection
Arguments
Name | Description |
---|---|
conn_id | Connection id, required to get/add/delete a connection |
Options
Name | Description |
---|---|
-h, --help | Show this help message and exit |
--conn-description <conn_description> | Connection description, optional when adding a connection |
--conn-extra <conn_extra> | Connection `Extra` field, optional when adding a connection |
--conn-host <conn_host> | Connection host, optional when adding a connection |
--conn-json <conn_json> | Connection JSON, required to add a connection using JSON representation |
--conn-login <conn_login> | Connection login, optional when adding a connection |
--conn-password <conn_password> | Connection password, optional when adding a connection |
--conn-port <conn_port> | Connection port, optional when adding a connection |
--conn-schema <conn_schema> | Connection schema, optional when adding a connection |
--conn-type <conn_type> | Connection type, required to add a connection without conn_uri |
--conn-uri <conn_uri> | Connection URI, required to add a connection without conn_type |