Azure Functions Configuration
The azure-functions plugin invokes HTTP-triggered Azure Functions with access-key injection, request forwarding, and sub-path preservation. Configuration covers plugin parameters and plugin metadata.
Parameters
See plugin common configurations for configuration options available to all plugins.
function_uri
URI of the HTTP-triggered Azure Function. The plugin sends the request to this URI and returns the function response to the client.
For a wildcard route, the path suffix matched by
*is appended to this URI. An endpoint with no path uses/. Pathless endpoint support was introduced in API7 Enterprise 3.9.20 and 3.10.7, and in APISIX 3.19.0.authorization
Azure Functions access-key headers added to the upstream request.
These values are used only when the client request contains neither
x-functions-keynorx-functions-clientid. If either header is present, the plugin forwards the client headers without injecting configured or metadata credentials.apikey
Function or host access key added to the
x-functions-keyheader. API7 Gateway encrypts the value with AES at rest. APISIX encrypts it before etcd storage whenapisix.data_encryption.enable_encrypt_fieldsis enabled.clientid
Access-key name or client ID added to the
x-functions-clientidheader when selecting a non-default Azure Functions access key.
max_req_body_size
valid value:
greater than or equal to 1Maximum request body size in bytes buffered into memory before the request is sent to the function. A larger body is rejected with
400 Bad Request. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and in APISIX 3.18.0.timeout
valid value:
greater than or equal to 100Function request timeout in milliseconds. A connection or request failure returns
503 Service Unavailable.ssl_verify
If true, verify the function endpoint's TLS certificate.
keepalive
If true, keep connections to the function endpoint alive for reuse.
keepalive_timeout
valid value:
greater than or equal to 1000Time in milliseconds that an idle keepalive connection remains open.
keepalive_pool
valid value:
greater than or equal to 1Maximum number of connections in the keepalive pool.
Plugin Metadata
master_apikey
Default function or host access key used by plugin instances that omit
authorization.API7 Gateway encrypts the value with AES at rest. APISIX encrypts it before etcd storage when
apisix.data_encryption.enable_encrypt_fieldsis enabled.master_clientid
Default access-key name or client ID used by plugin instances that omit
authorization.