youngsoul / PyParticleIO

Python ParticleIO cloud API
Other
14 stars 5 forks source link

Printing the url will reveal the access token in output and eventually in my logfiles #6

Closed unitware closed 2 years ago

unitware commented 3 years ago

I'd prefer that the sensitive access token was not printed for security reasons.

https://github.com/youngsoul/PyParticleIO/blob/3c95c932472ceaf3889405d8f9b16a93ec48ead7/pyparticleio/ParticleCloud.py#L260

https://github.com/youngsoul/PyParticleIO/blob/3c95c932472ceaf3889405d8f9b16a93ec48ead7/pyparticleio/ParticleCloud.py#L275

youngsoul commented 3 years ago

Good thought. I am happy to take a PR. Thanks for your input

unitware commented 3 years ago

https://github.com/youngsoul/PyParticleIO/pull/7