Apache APISIX API authentication and authorization

Choosing and configuring APISIX authentication plugins and consumer design: API keys, JWT, HMAC, LDAP, OpenID Connect, client certificates, external auth services and access restrictions.

Apache APISIX API key authentication with key-auth

Issuing and checking API keys at the gateway: key-auth header and query settings, hiding keys from upstreams, anonymous consumers with lower limits, encrypted storage, Vault references and rotating keys without downtime.

Apache APISIX JWT authentication with jwt-auth

Validating JWTs issued by your own services with jwt-auth: algorithms, where tokens are read from, consumer keys and public keys, exp and nbf checks, clock skew, and the breaking changes from 3.11 to 3.17.

Apache APISIX HMAC request signing with hmac-auth

Signing partner and machine requests with hmac-auth: allowed algorithms, signed headers and the Date requirement, clock skew, body digest validation, the key_id credential and migrating from the pre-3.11 plugin.

Apache APISIX LDAP authentication with ldap-auth

Authenticating API callers against Active Directory or OpenLDAP at the gateway: ldap-auth consumers and bind DNs, TLS verification now enforced in 3.18, escaping DNs, and when OIDC through an identity provider is the better route.

Apache APISIX external authorization with forward-auth

Delegating authentication decisions to your own auth service with forward-auth: which headers it receives, passing identity headers to upstreams, timeouts and failure codes, degradation settings and latency cost per request.

Designing Apache APISIX consumers and credentials

Modeling API clients in APISIX: consumers per application or partner, separate credentials, consumer groups for shared limits, plugin precedence, duplicate key rejection in 3.18 and lifecycle automation through the Admin API.

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.