Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Sanitize debug logging of sensitive credentials by default #1839

@jay0lee

Description

@jay0lee

Running a command with:

gam config debug_level 1 <actual command>

offers significant details on the API calls GAM is making that can be vital in troubleshooting an issue. However it also outputs sensitive refresh/access tokens by default.

Ideally we'd have something like:

gam config debug_level 1 <actual command>
...
<debug output with sensitive tokens redacted>
gam config debug_level 1 no_debug_redaction 1 <actual command>
...
<debug output with sensitive data like access/refresh tokens>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions