In a microservices architecture, what is the primary purpose of the API Gateway as a security pattern?
-
A
To store all user passwords in a central database
-
B
To act as a single entry point that enforces authentication, rate limiting, and routing
-
C
To compile microservice source code at runtime
-
D
To replace the need for individual service databases