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
  • Loading branch information
ashb committed Jun 11, 2021
1 parent 5fdf746 commit 4300731
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions airflow/utils/log/secrets_masker.py
Expand Up @@ -34,13 +34,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 4300731

Please sign in to comment.