-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BigQuery keyfile_dict profile mapping use env vars for sensitive fiel…
…ds (#471) If `GoogleCloudServiceAccountDictProfileMapping` is used for profile mapping, the full keyfile `json` is logged in the UI, including sensitive information. See the example below: ![image](https://github.com/astronomer/astronomer-cosmos/assets/79104794/cdf3babd-e946-4d5e-8bd6-cfbf68f5cb55) This PR hides the sensitive private key fields (`private_key` and `private_key_id`) as env vars so that they will not show up in the logs, see below: ![image](https://github.com/astronomer/astronomer-cosmos/assets/79104794/8eaaf6d3-12f6-4fd1-b64e-e6fb1e3801d3)
- Loading branch information
Showing
2 changed files
with
80 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters