authCredentials field in your
config YAML file. Here’s an example:
--config command line flag when starting
Subtrace:
Cookieheader on the requestSet-Cookieheader on the responseAuthorizationheader on the response
redactwill redact the auth credential completely (default).hashwill replace the value with a SHA256 hash of the original value (see below).keepwill trace the full auth credential string in cleartext (NOT recommended).
Using authCredentials: "hash"
The authCredentials: "hash" allows you to cross-match credentials across
different requests safely without storing raw auth credentials in cleartext.
For example, let’s say a client makes an API call with following request
header:
authCredentials: "hash" will hash the value when the request is traced:
Authorization header will have the same redacted
hash. If you know the original API key, you can also compute the hash yourself
using the sha256sum command: