Kong · Schema

Plugin

A Plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins provide extra functionality such as authentication, rate limiting, and transformations.

API GatewayLuaNGINXOpen Source

Properties

Name Type Description
id string The unique identifier of the Plugin.
name string The name of the plugin (e.g., rate-limiting, key-auth, cors).
instance_name string An optional custom name to identify an instance of the plugin.
config object The configuration properties for the Plugin which vary depending on the plugin being configured.
protocols array A list of the request protocols that will trigger this plugin.
enabled boolean Whether the plugin is applied.
tags array An optional set of strings for grouping and filtering.
ordering object Describes a dependency to another plugin to determine plugin ordering during the access phase (Enterprise only).
service object If set, the plugin will only activate when receiving requests via the specified Service.
route object If set, the plugin will only activate when receiving requests via the specified Route.
consumer object If set, the plugin will activate only for requests where the specified Consumer has been authenticated.
consumer_group object If set, the plugin will activate only for requests within the specified Consumer Group.
created_at integer Unix epoch timestamp of when the entity was created.
updated_at integer Unix epoch timestamp of when the entity was last updated.
View JSON Schema on GitHub