From 869be1c25c6e5f986c1c26dece40f3a30485805a Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Thu, 15 Aug 2019 13:32:31 -0500 Subject: [PATCH] Add warning about HttpClient wire logging to docs. --- spring-credhub-docs/src/docs/asciidoc/http-clients.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-credhub-docs/src/docs/asciidoc/http-clients.adoc b/spring-credhub-docs/src/docs/asciidoc/http-clients.adoc index d83afc0..34a09aa 100644 --- a/spring-credhub-docs/src/docs/asciidoc/http-clients.adoc +++ b/spring-credhub-docs/src/docs/asciidoc/http-clients.adoc @@ -25,6 +25,8 @@ To use Apache HttpComponents to communicate with CredHub, add the following depe ---- +WARNING: Apache HttpClient's https://hc.apache.org/httpcomponents-client-4.5.x/logging.html[wire logging] can be enabled through logging configuration. Make sure to not accidentally enable wire logging as logs may expose traffic (including tokens and secrets) between your application and CredHub in plain text. + === OkHttp 3 To use OkHttp 3 to communicate with CredHub, add the following dependency to the application: