Skip to content

Commit

Permalink
Add passphrase and private_key to default sensitive fileld names (a…
Browse files Browse the repository at this point in the history
…pache#16392)

(cherry picked from commit 4300731)
  • Loading branch information
ashb authored and jhtimmins committed Jun 12, 2021
1 parent 70a504d commit 5917abf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions airflow/utils/log/secrets_masker.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@

DEFAULT_SENSITIVE_FIELDS = frozenset(
{
'password',
'secret',
'passwd',
'authorization',
'access_token',
'api_key',
'apikey',
'access_token',
'authorization',
'passphrase',
'passwd',
'password',
'private_key',
'secret',
}
)
"""Names of fields (Connection extra, Variable key name etc.) that are deemed sensitive"""
Expand Down

0 comments on commit 5917abf

Please sign in to comment.