Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sanitization of headers when logging requests/respones #1460

Open
1 task
NikolayMetchev opened this issue Nov 7, 2024 · 0 comments
Open
1 task

Allow sanitization of headers when logging requests/respones #1460

NikolayMetchev opened this issue Nov 7, 2024 · 0 comments
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@NikolayMetchev
Copy link

NikolayMetchev commented Nov 7, 2024

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

  • I may be able to implement this feature request

AWS SDK for Kotlin version

1.3.68

Platform (JVM/JS/Native)

jvm

Operating system and version

linux

@NikolayMetchev NikolayMetchev added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant