You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/15 06:56:34 UTC

[GitHub] [airflow] dstandish edited a comment on pull request #15599: Mask passwords and sensitive info in task logs and UI

dstandish edited a comment on pull request #15599:
URL: https://github.com/apache/airflow/pull/15599#issuecomment-899005545


   I am noticing in 2.1.2 that passwords are not masked when running in interactive console locally ... but in deployed environment they are 🤔
   
   i.e. passwords from this log line in base hook:
   
   ```
               log.info(
                   "Using connection to: id: %s. Host: %s, Port: %s, Schema: %s, Login: %s, Password: %s, "
                   "extra: %s",
                   conn.conn_id,
                   conn.host,
                   conn.port,
                   conn.schema,
                   conn.login,
                   redact(conn.password),
                   redact(conn.extra_dejson),
               )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org