PrithviBadiga opened a new pull request, #65692:
URL: https://github.com/apache/airflow/pull/65692

   Adds multi-team lookup support to `AzureKeyVaultBackend`.
   
   Updates:
   - look up team-scoped secrets first when `team_name` is provided
   - fall back to the global secret when no team-scoped secret exists
   - avoid resolving team-scoped identifiers as global secrets when `team_name` 
is not provided
   - document the Azure team-scoped naming convention
   
   Lookup behavior:
   - team-scoped: `{prefix}-{team_name}-{secret_id}`
   - global fallback: `{prefix}-{secret_id}`
   
   Verification:
   - `AIRFLOW_HOME=$(mktemp -d) 
PYTHONPATH=/Users/prith/Desktop/Codex/airflow-65682/airflow-core/src:/Users/prith/Desktop/Codex/airflow-65682/providers/microsoft/azure/src
 /Users/prith/Desktop/Codex/airflow/.venv/bin/python -m pytest 
/Users/prith/Desktop/Codex/airflow-65689-azure/providers/microsoft/azure/tests/unit/microsoft/azure/secrets/test_key_vault.py`
   - `/Users/prith/Desktop/Codex/airflow/.venv/bin/python -m ruff check 
/Users/prith/Desktop/Codex/airflow-65689-azure/providers/microsoft/azure/src/airflow/providers/microsoft/azure/secrets/key_vault.py
 
/Users/prith/Desktop/Codex/airflow-65689-azure/providers/microsoft/azure/tests/unit/microsoft/azure/secrets/test_key_vault.py`
   - `/Users/prith/Desktop/Codex/airflow/.venv/bin/python -m ruff format 
--check 
/Users/prith/Desktop/Codex/airflow-65689-azure/providers/microsoft/azure/src/airflow/providers/microsoft/azure/secrets/key_vault.py
 
/Users/prith/Desktop/Codex/airflow-65689-azure/providers/microsoft/azure/tests/unit/microsoft/azure/secrets/test_key_vault.py`
   
   Part of: #65682
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to