Instead of an empty string, which was requested in the issue, I implemented "*****" so that it looks similar to the rest_api source where we also mask secrets
TODO before merging
[x] Test trace.asstr(verbosity=1) which is called by the dlt pipeline -v trace command
[ ] Decide whether we want identical masking logic for the rest_api source and the traces. The rest_api source shows the first and last character if the secret is at least 4 characters long. The traces show always "*****"
[ ] Agree on where to implement the unified secret masking logic or at least the constant MASKED_SECRET="*****" so that we can use it in both dlt/sources/rest_api/__init__.py as well as dlt/pipeline/trace.py
Description
Related Issues
Note
TODO before merging
trace.asstr(verbosity=1)
which is called by the dlt pipeline -v trace commandMASKED_SECRET="*****"
so that we can use it in bothdlt/sources/rest_api/__init__.py
as well asdlt/pipeline/trace.py