moby--moby/api/server/middleware
Aaron Lehmann 3fbc352cbb middleware: Redact secret data on "secret create"
With debug logging turned on, we currently log the base64-encoded secret
payload.

Change the middleware code to redact this. Since the field is called
"Data", it requires some context-sensitivity. The URI path is examined
to see which route is being invoked.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-29 16:04:47 -07:00
..
cors.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
debug.go middleware: Redact secret data on "secret create" 2017-06-29 16:04:47 -07:00
debug_test.go middleware: Redact secret data on "secret create" 2017-06-29 16:04:47 -07:00
experimental.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
middleware.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
version.go Hide command options that are related to Windows 2017-03-12 08:47:17 +02:00
version_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00