API Gateway Request Transformation for Secure Microservice Routing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Microservice architectures face security threats due to exposure of underlying microservice architecture information, which can be exploited by malicious actors for disruptive attacks, and require improved management techniques.

Innovation Solution

A secure API gateway that encrypts and transforms API requests and responses using service mapping and transformation rules, ensuring end-to-end encryption and obfuscation of microservice architecture details, providing a single entry point for communication and supporting multitenancy across entities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If microservice architecture information is exposed for development and deployment, then ease of operation and adaptability improve, but security deteriorates due to exploitation risks

Engineering Contradiction:
Improveease of microservice managementVSAvoidsecurity threats from architecture exposure
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent introduces an API gateway as an intermediary component between client devices and microservices. The gateway receives, decrypts, transforms, and forwards API requests while hiding the actual microservice architecture details. This mediator enables secure communication without exposing internal architecture, resolving the contradiction between operational ease and security.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system dynamically changes parameters including encryption/decryption of API requests, transformation of URL paths, headers, bodies, and cookies. These parameter changes allow the system to maintain security while enabling flexible microservice management and adaptation to different client requirements.

Inventive Principle:
Principle #35Parameter changes

2Object-affected harmful factors

If encryption and transformation of API requests are implemented, then security improves, but device complexity increases due to additional processing components

Engineering Contradiction:
Improveprotection against exploitationVSAvoidcomplexity of API gateway system
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The API gateway is designed as a universal system that performs multiple functions: decryption, URL path transformation, header transformation, body transformation, cookie transformation, and forwarding. By consolidating these diverse functions into a single multi-functional gateway, the system achieves high security without proportionally increasing overall complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Object-affected harmful factors

If URL paths and request bodies are encrypted, then security improves, but information loss increases making it harder to determine target services

Engineering Contradiction:
Improvesecurity of API communicationVSAvoidloss of target service identification information
Core Design Contradiction:
Object-affected harmful factorsVSLoss of information

Solution Approach 1:

The API gateway performs preliminary decryption and transformation of API requests before forwarding them to the appropriate microservices. By pre-processing the encrypted requests with the correct decryption keys and transformation rules, the system maintains security while ensuring that target service identification information is properly recovered and routed.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20260075040A1Secure and efficient management of microservices
Publication Date: 2026.03.12 LIVECAREER
  • US20260075040A1 patent drawing
  • US20260075040A1 patent drawing
  • US20260075040A1 patent drawing

AI summary

Certain aspects of the present disclosure provide techniques for secure and efficient management of a plurality of microservices. Certain aspects include receiving, from a first client device, a first request to call a target service Application Programming Interface (API), wherein: a first body of the first request is encrypted, and the first request comprises a first Uniform Resource Locator (URL) path comprising a first identifier associated with the target service API; generating a decrypted first request by decrypting the first request to call the target service API; determining the target service API based on the first identifier; generating a transformed first request by applying one or more transforms to the decrypted first request according to one or more first configured request transformation rules; and sending the transformed first request to the target service API.