apache / apache/airflow

Generate URI/JSON for a connection from the Airflow Connection UI

Open
#29,656 7 comments 0 reactions 0 assignees View on GitHub
area:webserver kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### Description

Ability to generate the Connection String in either URI or JSON Format from the Connection UX on the Airflow UI.

### Use case/motivation

Many a times, have seen Data Engineers struggle with create Connection via the UI, but then struggle to generate the corresponding JSON or URI required to port it to Secret Managers. We have to either go via Astro CLI or Airflow Shell to export the connection in JSON or URI format.

The goal is to make it easier for Users to do this via the UI, and make the migration from a Dev Environment to a more organized Prod Environment's Secret Manager much easier by reducing the turnaround time.

### Related issues

_No response_

### Are you willing to submit a PR?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Research direction

Start by locating the Airflow Connection UI and the existing connection export behavior available through Astro CLI or Airflow Shell. Compare the URI and JSON outputs needed for migration to secret managers, then verify that both formats can be generated from the UI and match the existing export behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.