We gate logging HTTP requests and responses because headers and query parameters (and the body) could have sensitive information bound to them from the model. We currently log canonical request during signing which may contain many of the same details (headers, query params, etc). This PR adds LogMode.LogSigning which gates logging these details unless explicitly opted into.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue \
n/a
Description of changes
We gate logging HTTP requests and responses because headers and query parameters (and the body) could have sensitive information bound to them from the model. We currently log canonical request during signing which may contain many of the same details (headers, query params, etc). This PR adds
LogMode.LogSigning
which gates logging these details unless explicitly opted into.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.