Apache APISIX security hardening

Securing the gateway itself: the Admin and Control APIs, etcd, TLS and certificates, encryption of stored secrets, WAF integration, request limits and header trust.

Locking down the Apache APISIX Admin API and Control API

Keeping configuration endpoints away from attackers: admin key generation, the allow_admin IP list, binding ports 9180, 9092 and 9091 to private networks, decoupled control planes, and admin key requirements added in 3.17.

Apache APISIX upstream TLS verification and mTLS

Encrypting traffic from the gateway to services: upstream TLS verification honored for https and grpcs from 3.19, client certificates to upstreams, system CA trust, and fixing services that start failing after the upgrade.

Encrypting secrets stored in etcd by Apache APISIX

Protecting credentials in the configuration store: sensitive field encryption on by default from 3.10, the keyring, which plugin fields are covered, secret references to Vault or cloud secret managers, and key rotation.

Apache APISIX IP, user agent and referer restrictions

Blocking unwanted clients before authentication: ip-restriction allow and deny lists, ua-restriction with mutually exclusive lists since 3.5, referer-restriction and uri-blocker, and the real client IP behind load balancers.

Request size limits and buffering in Apache APISIX

Bounding memory use and abuse at the gateway: per-plugin body size limits from 3.18, client-control, post argument limits, logger backlogs and how limits interact with large uploads and streaming APIs.

Managing TLS certificates and SNI in Apache APISIX

Serving many domains from one gateway: SSL objects and SNI matching, wildcard certificates, client CAs, OCSP stapling, schema changes in 3.7, certificates stored as secrets and automating renewals.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.