Outbound Basic Auth rule
- The Outbound Basic Auth rule isn't available for Triggered Task or Ultra Task endpoints.
- The accounts used in the rule automatically reflect the changes made in the account itself.
- If you delete an account, the rule that references it becomes invalid and displays an error until you select another account.
Prerequisites
An API Suite Basic Auth Account in the global shared project. To create one, refer to Create an account in the Policy builder.
Supported account types
The rule accepts only the API Suite Basic Auth Account.
Rule execution order
The Outbound Basic Auth rule executes after all rules, when the proxy calls the upstream API.
| Field Name | Description |
|---|---|
| When this rule should be applied | An expression that defines one or more conditions that must be
true for the rule to execute.
Example: The expression |
| Token Location | Required. Select where the request carries the token:
Header, Body, or
Query. Default value: Header |
| Authorization Scheme | Appears when Token Location is Header. Select the scheme that precedes the token in theAuthorization header:
Default value: Basic |
| Custom Authorization Scheme | Appears when Authorization Scheme is Custom. Enter the scheme to send before the token. |
| Request Body Key | Appears when Token Location is Body. Enter the JSON key that holds the token in the request body. |
| Query String Parameter Name | Appears when Token Location is Query. Enter the name of the query string parameter that holds the token. |
| Account Reference | Select an API Suite Basic Auth Account in the global shared project. For the steps, refer to Associate an account with an outbound rule. |
| Description |
Default value: Outbound requests are being authenticated with Basic Auth |