azure.databricks.cicd.tools icon indicating copy to clipboard operation
azure.databricks.cicd.tools copied to clipboard

Do not output the Bearer Token

Open blueelvis opened this issue 4 years ago • 1 comments

We run our PowerShell scripts in Verbose mode in CI/CD pipelines to ensure we have all the information to debug in case any issues arise. What I have been seeing is that the Bearer Token is outputted in the Verbose mode when any command from this module is executed. Since Build logs are kind of accessible to everyone and the bearer token generated has a lot of permissions, is it possible to not output it at all? Or just print some ****?

image

Thanks! -Pranav

blueelvis avatar Oct 16 '20 10:10 blueelvis

Hello! Yes I've noticed this. Certainly this is an issue. @simondmorias I'm happy to take this one on.

RichieBzzzt avatar Oct 20 '20 07:10 RichieBzzzt