Skip to content

Conversation

@olegkachur-e
Copy link
Contributor

  • Add details to the error message, to track what exact values were provided.

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Jan 10, 2025
@potiuk potiuk force-pushed the improve_connection_credential_logging branch from 6a855ec to dfa82a5 Compare January 10, 2025 15:32
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is bad idea. You are about to reveal keyfile_dict which contains private key in the log.

- Add details to the error message, to track what exact values were
  provided.
@olegkachur-e olegkachur-e force-pushed the improve_connection_credential_logging branch from dfa82a5 to 1a09c11 Compare January 13, 2025 16:19
@olegkachur-e
Copy link
Contributor Author

This is bad idea. You are about to reveal keyfile_dict which contains private key in the log.

Good point! There definitely was an another way to improve. The code is updated

@olegkachur-e olegkachur-e requested a review from potiuk January 13, 2025 16:33
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Way better!

@potiuk potiuk merged commit 8e6e9c4 into apache:main Jan 13, 2025
61 checks passed
karenbraganz pushed a commit to karenbraganz/airflow that referenced this pull request Jan 13, 2025
- Add details to the error message, to track what exact values were
  provided.

Co-authored-by: Oleg Kachur <kachur@google.com>
HariGS-DB pushed a commit to HariGS-DB/airflow that referenced this pull request Jan 16, 2025
- Add details to the error message, to track what exact values were
  provided.

Co-authored-by: Oleg Kachur <kachur@google.com>
dauinh pushed a commit to dauinh/airflow that referenced this pull request Jan 24, 2025
- Add details to the error message, to track what exact values were
  provided.

Co-authored-by: Oleg Kachur <kachur@google.com>
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
- Add details to the error message, to track what exact values were
  provided.

Co-authored-by: Oleg Kachur <kachur@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants