Associate an account with an outbound rule

Each Outbound Basic Auth, Outbound JWT, and Outbound OAuth2 rule uses one account to authenticate to the upstream service. You select the account on the rule's Account tab. Rules in different Policies can share the same account. To change the account a rule uses, follow the same steps and select a different account.

You can associate a rule only with an account in the global shared project. If the account doesn't exist yet, create it first, as described in Create an account in the Policy builder.

To associate an account with a rule:

  1. Navigate to the Policy Catalog.
  2. Open the Policy in the Policy builder:
    • For a new Policy, click New Policy, and then add an Outbound Basic Auth, Outbound JWT, or Outbound OAuth2 rule, as described in Create a Policy.
    • For an existing Policy, find it by using search or filters, or by opening its containing folder, and then click it.
  3. Click the rule.
  4. Click the Account tab.
  5. Click Account Reference, expand the account type, and then select the account. You can browse the accounts by project or by type. The list shows API Suite OAuth2 accounts under OAuth2 Account.

    Account tab of an Outbound OAuth2 rule with the Account Reference list open by project

  6. Click Validate & save to save the rule.
  7. Click Save to save the Policy. For a new Policy, select the project to save it in, and then click Save again.