Skip to content

Commit 2cd40ca

Browse files
[v2-10-test] docs: clarify which fields are masked in the UI (#45417) (#45418)
The word 'contains' was used slightly confusingly here: it was meant to mean 'the name field contains any of these strings', but you could also read it as 'the name itself contains any of these strings'. This removes any ambiguity. (cherry picked from commit f03b1d4) Co-authored-by: Arnout Engelen <[email protected]>
1 parent 200bd62 commit 2cd40ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/apache-airflow/security/secrets/mask-sensitive-values.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ When masking is enabled, Airflow will always mask the password field of every Co
3939
task.
4040

4141
It will also mask the value of a Variable, rendered template dictionaries, XCom dictionaries or the
42-
field of a Connection's extra JSON blob if the name contains
43-
any words in ('access_token', 'api_key', 'apikey', 'authorization', 'passphrase', 'passwd',
44-
'password', 'private_key', 'secret', 'token'). This list can also be extended:
42+
field of a Connection's extra JSON blob if the name is in the list of known-sensitive fields (i.e. 'access_token',
43+
'api_key', 'apikey', 'authorization', 'passphrase', 'passwd', 'password', 'private_key', 'secret' or 'token').
44+
This list can also be extended:
4545

4646
.. code-block:: ini
4747

0 commit comments

Comments
 (0)