googleapis / googleapis/google-cloud-rust
Consider having verifiable sensitive fields in auth debugging
Open
auth
priority: p3
type: feature request
- Dominant language
- Rust
- Stars
- 955
- Forks
- 144
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 279
Description
A follow up to #589
Some fields we need to be extra careful about logging. Such as private keys.
We currently just print `[censored]` for them in debug strings.
As @coryan suggests, we could instead print a hash of these fields. That would at least let applications check if the field's value is what they are expecting.
Contributor guide
Assessment
This issue has not been assessed yet.