You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the run option --logLevel=debug will redact AUTH_TOKEN if part of the context object.
This becomes a problem when a function uses the context object to interact with the twilio library via context.getTwilioClient() as it will use ACCOUNT_SID and AUTH_TOKEN to authenticate. Printing the values stored in context results in below:
It looks like the redaction code is permanently changing the context variable and it seems like it should not.
The text was updated successfully, but these errors were encountered:
Thanks for catching that! I created a PR to fix it. I also didn't forget about the Windows commit hooks issue but haven't gotten around to fixing that one yet.
Using the run option
--logLevel=debug
will redact AUTH_TOKEN if part of the context object.This becomes a problem when a function uses the context object to interact with the twilio library via context.getTwilioClient() as it will use ACCOUNT_SID and AUTH_TOKEN to authenticate. Printing the values stored in context results in below:
It looks like the redaction code is permanently changing the context variable and it seems like it should not.
The text was updated successfully, but these errors were encountered: