|
Once AI Red Teaming obtains an access token, it
injects the token into requests sent to the
target API. You configure:
Header Name—The HTTP header where the
token is injected. This is typically
Authorization, but some APIs
use custom headers like
X-Access-Token or
Proxy-Authorization.
Header Value Template—A template string
that defines how the token is formatted in the
header. Use the {TOKEN}
placeholder where the actual access token should
be inserted.
Common templates:
Example: If the template is Bearer
{TOKEN} and the access token is
abc123, AI Red Teaming injects
the header Authorization: Bearer
abc123.
|