This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new a2f20176b84 [v3-1-test] Update references to mask_secret in the docs
to use the latest path (#58526) (#58534)
a2f20176b84 is described below
commit a2f20176b84733a876045a7762b77b722b29f32a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Nov 22 22:57:20 2025 +0100
[v3-1-test] Update references to mask_secret in the docs to use the latest
path (#58526) (#58534)
(cherry picked from commit b34e63a246daa1ad6a2c27ac782faad5775c7476)
Co-authored-by: Amogh Desai <[email protected]>
---
airflow-core/docs/security/secrets/mask-sensitive-values.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/docs/security/secrets/mask-sensitive-values.rst
b/airflow-core/docs/security/secrets/mask-sensitive-values.rst
index 1663883b2ca..0268a4a0274 100644
--- a/airflow-core/docs/security/secrets/mask-sensitive-values.rst
+++ b/airflow-core/docs/security/secrets/mask-sensitive-values.rst
@@ -58,7 +58,7 @@ your Dag file or operator's ``execute`` function using the
``mask_secret`` funct
@task
def my_func():
- from airflow.sdk.execution_time.secrets_masker import mask_secret
+ from airflow.sdk.log import mask_secret
mask_secret("custom_value")
@@ -71,7 +71,7 @@ or
class MyOperator(BaseOperator):
def execute(self, context):
- from airflow.sdk.execution_time.secrets_masker import mask_secret
+ from airflow.sdk.log import mask_secret
mask_secret("custom_value")