Cloud-native gateways provide authentication plug-ins that help you enforce security and access control for your services.
|
Plug-in |
Feature description |
|
The key-auth plug-in authenticates requests based on API keys. It parses API keys from URL parameters or request headers of HTTP requests and verifies whether the keys are authorized to access the requested services. |
|
|
The basic-auth plug-in authenticates requests based on the HTTP Basic Authentication specification. |
|
|
The hmac-auth plug-in generates unforgeable signatures for HTTP requests by using the hash-based message authentication code (HMAC) algorithm. These signatures are used for identity authentication. |
|
|
The jwt-auth plug-in authenticates requests based on JSON Web Tokens (JWTs). It parses JWTs from URL parameters, headers, or cookies in HTTP requests and validates them. As an alternative to manual configuration of JWT authentication, the jwt-auth plug-in provides caller identification and allows you to configure different JWT credentials for different callers. |
|
|
The edas-service-auth plug-in is provided by Enterprise Distributed Application Service (EDAS). It adds authentication information to requests sent from a Microservices Engine (MSE) cloud-native gateway to EDAS applications, enabling access control on specific microservice applications. |
|
|
The oauth plug-in issues OAuth 2.0 access tokens based on JWTs in compliance with the RFC 9068 specification. |
|
|
The jwt-logout plug-in uses Redis to implement weak state management for JWTs, resolving the limitation that JWTs do not support proactive logout. You can also use the plug-in to enforce single-device login for an account. For example, when an account logs on to a new device, it is automatically logged out from the previous device. |