Allow sanitization of headers when logging requests/respones #1460
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
It would be good to add a feature similar to KtorClient:
https://ktor.io/docs/client-logging.html#7641443b_69
Which would allow sanitization of headers such as Authorization and X-Amz-Security-Token. This will apply when setting the LogMode to anything other than default.
In fact it would be good if the SDK did that by default
Is your feature request related to a problem?
Logging sensitive tokens is a security risk
Proposed Solution
No response
Describe alternative solutions or features you've considered
No response
Acknowledge
AWS SDK for Kotlin version
1.3.68
Platform (JVM/JS/Native)
jvm
Operating system and version
linux
The text was updated successfully, but these errors were encountered: