Skip to content

Adding and Managing Policies

This guide explains how to add and manage policies for your Self-Hosted Gateway using API Platform's unified control plane.

Overview

Policies allow you to enforce security, rate limiting, transformation, and other governance requirements on your APIs. With the Self-Hosted Gateway, you manage policies centrally through API Platform's Policy Hub, and they are automatically synchronized to your gateway.

Adding Policies to an API

To add policies to an API deployed on your Self-Hosted Gateway:

  1. Sign in to the API Platform Console.
  2. Select your organization and project.
  3. Navigate to the API proxy you want to configure.
  4. Click Develop in the left navigation, then select Policies.

    Policy Page

  5. Choose the policy flow for API level or Resource Level:

    Policy Flow

  6. Click + Add Policy and select the policy type.

    Policy Flow

  7. Configure the policy parameters.

    Policy Flow

  8. Click Add to apply the policy.

  9. Then Save the API.
  10. Deploy the API changes to the Gateway.

Available Policy Types

Navigate to API Platform Policy Hub to discover available policies.

What's Next?