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 11, 2021
1 parent 0e3d351 commit 692dc18
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions airflow/utils/log/secrets_masker.py
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 692dc18

Please sign in to comment.