Plugins

Create a KeyAuth plugin

Changed on

Create a KeyAuth plugin

post/{workspace}/plugins#KeyAuth

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

workspace, string required
Example:team-payments

The name of the workspace

Request body

KeyAuthPlugin required

Response

Created KeyAuth plugin

KeyAuthPlugin required

Changes

    • info

      the scope request property default value cp was added

    • info

      the scope response's property default value cp was added for the status

    • info

      added the new optional request property allOf[#/components/schemas/KeyAuthPluginConfig]/config/principals

    1 more change in this revision