Skip to content

Commit

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

(cherry picked from commit 4300731)
  • Loading branch information
ashb committed Jun 22, 2021
1 parent 1ca495c commit e58a6a9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions airflow/utils/log/secrets_masker.py
Expand Up @@ -47,13 +47,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 e58a6a9

Please sign in to comment.