SetAuthorization

Sets the Authorization header

Table 1. Supported parameters
Parameter Required Data type Details
basic Yes object Uses basic HTTP authentication details to authenticate the client
oauth Yes object Uses OAuth token details to authenticate the client
jwt Yes object Uses JSON web token details to authenticate the client
anonymous Yes object Authenticates the client without any credentials
Table 2. Options for SetAuthorization
Parameter Required Data type Details
basic Yes object Uses basic HTTP authentication details to authenticate the client
oauth Yes object Uses OAuth token details to authenticate the client
jwt Yes object Uses JSON web token details to authenticate the client
anonymous Yes object Authenticates the client without any credentials
Table 3. Options for basic
Parameter Required Data type Details
useIncoming Yes object Take the Basic auth header from 'request' and apply it to the message specified
jsonata Yes object Use JSONata to build the Basic Authorization header
secret Yes string Name of Kubernetes Secret containing data keys username and password (optional) to use for Basic authentication
Table 4. Nested properties inside jsonata
Parameter Required Data type Details
password No string or null JSONata expression to resolve the password
username Yes string JSONata expression to resolve the username