Third Party: This plugin is developed, tested, and maintained by Akamai.
The Akamai API Security plugin forwards a copy of your Kong Gateway API traffic to Akamai API Security for behavioral ML analysis, security inspection, and threat detection.
It can also enforce security policies by blocking malicious actors based on rules configured in Akamai API Security.
The Akamai API Security plugin requires the creation of an integration profile in API Security. For complete instructions, visit the Akamai API Security docs site.
Unzip the plugin file you got from your integration profile. You’ll find the LuaRock file you need for the plugin installation.
Then, choose your installation method:
Use this method when Kong Gateway runs as a container and you build your own image.
Place the .rock file in the same directory as your Dockerfile, then add the following lines to your Dockerfile and build the image:
USER rootCOPY ./kong-plugin-nonamesecurity-<version>.all.rock kong-plugin-nonamesecurity-<version>.all.rockRUN luarocks install kong-plugin-nonamesecurity-<version>.all.rockUSER kong
Copied!
Run the container with nonamesecurity included in the KONG_PLUGINS list:
docker run -e "KONG_PLUGINS=bundled,nonamesecurity" ...
Copied!
Use this method when Kong Gateway is deployed on Kubernetes using the official Helm chart.
Unpack the plugin package and locate the kong/plugins/nonamesecurity/ directory.
Bundle the directory into a ConfigMap:
kubectl create configmap kong-plugin-nonamesecurity --from-file=nonamesecurity -n kong
Copied!
Update your Helm custom-values.yaml file to reference the ConfigMap:
Confirm that the installed nonamesecurity folder has the same owner and permissions as your other Kong Gateway plugin folders. This is typically mode 777, owned by the kong:kong user and group.
Enable the plugin using one of the following options:
Update kong.conf:
plugins = bundled,nonamesecurity
Copied!
Or set the environment variable and restart Kong Gateway:
export KONG_PLUGINS="bundled,nonamesecurity"
Copied!
kong restart
Copied!
Konnect hybrid mode (self-managed data planes) is supported. Konnect Serverless and Dedicated Cloud Gateways can’t run custom plugins.
Upload the plugin schema so the control plane can validate and distribute Akamai API Security configuration.
Install the .rock file (or a custom image containing it) on every data plane node, the same way you would for a Docker or Kubernetes deployment, and make sure nonamesecurity is included in KONG_PLUGINS on each data plane.
Uploading a changed schema doesn’t push it to data planes on its own. Update or create another entity afterward so data planes pull the new payload.