/proxy
)T-PROXY-URL
: The target API URL you want to callT-REQUEST-ID
: Your generated UUID for tracking the proofT-REDACTED
(optional): Comma-separated list of fields to redactT-PROVE-FAILED-REQ
(optional): If set to true, the proof will be generated even if the request failsT-REDACTED
header allows you to specify which parts of the request and response should be redacted from the generated proofs. Understanding the syntax is crucial for effectively protecting sensitive information while maintaining the integrity of your proofs. Below is a detailed explanation of each redaction pattern you can use:
req:body:fieldName
fieldName
with the exact name of the field you want to redact.req:body:password
password
field from the request body.
req:header:headerName
headerName
with the name of the header you wish to redact.req:header:Authorization
Authorization
header from the request.
res:body:fieldName
fieldName
with the name of the field you want to redact.res:body:creditCardNumber
creditCardNumber
field from the response body.
res:header:headerName
headerName
with the name of the header you wish to redact.res:header:Set-Cookie
Set-Cookie
header from the response.
res:query:queryName
queryName
with the name of the query parameter you want to redact.res:query:userId
userId
query parameter from the response URL.
res:path:PathIndex
PathIndex
with the numerical position of the path segment you wish to redact, starting from 1.res:path:2
https://api.example.com/users/12345/profile
,res:path:2
will redact 12345
from the path.
search:substring
substring
with the exact phrase or word you want to redact.search:secret
res:body:id,req:header:Authorization,search:password
search
) do not inadvertently redact intended data.
/proof/{requestId}
)T-REDACTED
header to protect sensitive information from TLS proofs while maintaining proof validity.