Plugins

Update a HmacAuth plugin

Update a HmacAuth plugin

put/{workspace}/plugins/{PluginId}#HmacAuth

Request body

conditionstring nullable

An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.

created_atinteger nullable

Unix epoch when the resource was created.

enabledboolean nullable

Whether the plugin is applied.

idstring nullable

A string representing a UUID (universally unique identifier).

instance_namestring nullable

A unique string representing a UTF-8 encoded name.

name'hmac-auth' required

The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.

tagsstring[] nullable

An optional set of strings associated with the Plugin for grouping and filtering.

updated_atinteger nullable

Unix epoch when the resource was last updated.

protocolsstring[]

A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.

Response

HmacAuth plugin

conditionstring nullable

An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.

created_atinteger nullable

Unix epoch when the resource was created.

enabledboolean nullable

Whether the plugin is applied.

idstring nullable

A string representing a UUID (universally unique identifier).

instance_namestring nullable

A unique string representing a UTF-8 encoded name.

name'hmac-auth' required

The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.

tagsstring[] nullable

An optional set of strings associated with the Plugin for grouping and filtering.

updated_atinteger nullable

Unix epoch when the resource was last updated.

protocolsstring[]

A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.

Changes

Changed in 3 of the 11 revisions of this API.310

  • 9555cbb8b25917See the full diff
    • added the new hmac-sha224 enum value to the allOf[HmacAuthPluginConfig]/config/algorithms/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new optional request property allOf[PluginBase]/condition

      new-optional-request-property

    • the algorithms request property default value changed from hmac-sha1 hmac-sha256 hmac-sha384 hmac-sha512 to hmac-sha224 hmac-sha256 hmac-sha384 hmac-sha512

      request-property-default-value-changed

    • the hide_credentials request property default value changed from false to true

      request-property-default-value-changed

    • added the new hmac-sha224 enum value to the request property allOf[HmacAuthPluginConfig]/config/algorithms/items/

      request-property-enum-value-added

    • added the optional property allOf[PluginBase]/condition to the response with the 200 status

      response-optional-property-added

    • the algorithms response's property default value changed from hmac-sha1 hmac-sha256 hmac-sha384 hmac-sha512 to hmac-sha224 hmac-sha256 hmac-sha384 hmac-sha512 for the status 200

      response-property-default-value-changed

    • the hide_credentials response's property default value changed from false to true for the status 200

      response-property-default-value-changed

  • 65f3141f166222See the full diff
    • removed the request property name

      request-property-removed

    • removed the optional property name from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property allOf[HmacAuthPluginConfig]/name

      new-optional-request-property

    • added the optional property allOf[HmacAuthPluginConfig]/name to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 11 revisions, 1 has no diff computed.