Files
sablier/docs/plugins/apacheapisix.md
2024-07-03 18:49:37 +00:00

956 B

Apache APISIX Plugin

The Apache APISIX Plugin is a WASM Plugin written with the Proxy Wasm SDK.

Provider compatibility grid

Provider Dynamic Blocking
Docker
Docker Swarm
Kubernetes

Install the plugin to Apache APISIX

wasm:
  plugins:
    - name: proxywasm_sablier_plugin
      priority: 7997
      file: /wasm/sablierproxywasm.wasm # Downloaded WASM Filter path

Configuration

You can have the following configuration:

routes:
  - uri: "/"
    plugins:
      proxywasm_sablier_plugin:
        conf: '{ "sablier_url": "sablier:10000", "group": ["my-group"], "session_duration": "1m", "dynamic": { "display_name": "Dynamic Whoami" } }'