aws / aws-xray-sdk-go

AWS X-Ray SDK for the Go programming language.
Apache License 2.0
276 stars 117 forks source link

Strip X-Amz-Security-Token from SQL URIs #367

Closed iann0036 closed 2 years ago

iann0036 commented 2 years ago

Issue #, if available:

Description of changes: In addition to password, I propose stripping the X-Amz-Security-Token param from the connection string as this is present in connections that use RDS / Aurora IAM Authentication and could lead to exposure of the short-lived credentials.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.